Mock out what we need from AR::Base.
create_savepoint(name = nil) Instance Public methods
supports_migrations?() Instance Public methods Returns true, since this connection
sql_for_insert(sql, pk, id_value, sequence_name, binds) Instance Public methods
translate_exception_class(e, sql) Instance Protected methods
disable_extension(name) Instance Public methods
primary_key(table) Instance Public methods Returns just a table's primary key
explain() Instance Public methods Runs EXPLAIN on the query or queries triggered
validates_associated(*attr_names) Instance Public methods Validates whether
length() Instance Public methods Returns the size of the collection calling
table_alias_length() Instance Public methods Returns the maximum length of a
Page 15 of 100