Mock out what we need from AR::Base.
disconnect!() Instance Public methods Disconnects from the database if already
primary_key() Class Public methods
write_attribute(attr_name, value) Instance Public methods Updates the attribute
infinity(options = {}) Instance Public methods
current_database() Instance Public methods Returns the current database name
<=>(other_object) Instance Public methods Allows sort on objects
find_or_initialize_by(attributes, &block) Instance Public methods Like
define_method_attribute=(attr_name) Instance Protected methods Defined for all
create_join_table(table_1, table_2, options = {}) Instance Public methods Creates
index_algorithms() Instance Public methods
Page 34 of 100