Mock out what we need from AR::Base.
disconnect!() Instance Public methods Disconnects all connections in the pool
exec_update(sql, name, binds) Instance Public methods Alias for:
add_column_position!(sql, options) Instance Public methods
remove_belongs_to(*args) Instance Public methods Alias for:
<<(*records) Instance Public methods Adds one or more records
rename_index(table_name, old_name, new_name) Instance Public methods
unprepared_statement() Instance Public methods
schema_search_path() Instance Public methods Returns the active schema search
with_lock(lock = true) Instance Public methods Wraps the passed block in a transaction
sql_for_insert(sql, pk, id_value, sequence_name, binds) Instance Public methods
Page 4 of 100