Mock out what we need from AR::Base.
sanitize_sql_hash_for_assignment(attrs, table) Instance Protected methods Sanitizes
after_commit(*args, &block) Instance Public methods This callback is called
index(column_name, options = {}) Instance Public methods Adds index options
allowed_index_name_length() Instance Public methods Returns the maximum allowed
next_migration_number(dirname) Instance Public methods Implement the required
new(connection, max = 1000) Class Public methods
reload(options = nil) Instance Public methods Reloads the record from the database
rename_table_indexes(table_name, new_name) Instance Protected methods
current_database() Instance Public methods
clear_reloadable_connections!() Instance Public methods Clears the cache which
Page 92 of 100