Mock out what we need from AR::Base.
cache(&block) Instance Public methods Enable the query cache within the
add_belongs_to(table_name, ref_name, options = {}) Instance Public methods Alias
save(*) Instance Public methods Saves the model. If
id_before_type_cast() Instance Public methods Returns the primary key value
add_index_sort_order(option_strings, column_names, options = {}) Instance Protected methods
locking_column() Instance Public methods The version column used for optimistic
valid?(context = nil) Instance Public methods Runs all the validations within
new(scope) Class Public methods
drop_join_table(table_1, table_2, options = {}) Instance Public methods Drops
new() Class Public methods
Page 98 of 100