Mock out what we need from AR::Base.
supports_migrations?() Instance Public methods Returns true, since this connection
explain(arel, binds = []) Instance Public methods DATABASE STATEMENTS =====
new(connection, name, class_name, path, config = ActiveRecord::Base) Class Public methods
insert(arel, name = nil, pk = nil, id_value = nil, sequence_name = nil, binds = []) Instance Public methods
[](name) Instance Public methods Returns a ColumnDefinition for the column with
update_attributes(attributes) Instance Public methods Alias for:
rename_index(index_name, new_index_name) Instance Public methods Renames the
active?() Instance Public methods Checks whether the connection to the database
hash() Instance Public methods Delegates to id in order to allow two records
quoted_id() Instance Public methods TODO: Deprecate this
Page 97 of 100