Mock out what we need from AR::Base.
find_or_create_by(attributes, &block) Instance Public methods Finds the
populate_with_current_scope_attributes() Instance Public methods
lock!(lock = true) Instance Public methods Obtain a row lock on this record
distinct(value = true) Instance Public methods Specifies whether the records
length() Instance Public methods
supports_index_sort_order?() Instance Public methods Does this adapter support
explain(arel, binds = []) Instance Public methods
explain(arel, binds = []) Instance Public methods DATABASE STATEMENTS =====
schema_cache=(cache) Instance Public methods
type_cast(value, column) Instance Public methods
Page 44 of 100