Mock out what we need from AR::Base.
clear_cache!() Instance Public methods Clears the prepared statements cache
quoted_columns_for_index(column_names, options = {}) Instance Protected methods
enable_extension(name) Instance Public methods This is meant to be implemented
exec_migration(conn, direction) Instance Public methods
active?() Instance Public methods CONNECTION MANAGEMENT ===================
change_column_default(table_name, column_name, default) Instance Public methods Sets
destroy_all(conditions = nil) Instance Public methods Destroys the records matching
count_by_sql(sql) Instance Public methods Returns the result of an SQL statement
new(attributes = {}, &block) Instance Public methods Alias for:
log(sql, name = "SQL", binds = [], statement_name = nil) Instance Protected methods
Page 25 of 100