Mock out what we need from AR::Base.
rollback_db_transaction() Instance Public methods Rolls back the transaction
type() Instance Public methods
supports_ddl_transactions?() Instance Public methods
transaction(options = {}) Instance Public methods Runs the given block in a
has_many(name, scope = nil, options = {}, &extension) Instance Public methods Specifies
next_migration_number(dirname) Instance Public methods Implement the required
change_column_null(table_name, column_name, null, default = nil) Instance Public methods
column_name_length() Instance Public methods Returns the maximum length of a
table_name_length() Instance Public methods Returns the maximum length of a
rename_index(index_name, new_index_name) Instance Public methods Renames the
Page 100 of 100