Mock out what we need from AR::Base.
pk_and_sequence_for(table) Instance Public methods Returns a table's primary
[](name) Instance Public methods Returns a ColumnDefinition for the column with
update(arel, name = nil, binds = []) Instance Public methods Executes the update
[]=(oid, type) Instance Public methods
begin_isolated_db_transaction(isolation) Instance Public methods Begins the
remove_connection(klass = self) Instance Public methods
new(scope) Class Public methods
macaddr(name, options = {}) Instance Public methods
where_values_hash(relation_table_name = table_name) Instance Public methods Returns
clear() Instance Public methods Equivalent to delete_all. The difference
Page 94 of 100