Mock out what we need from AR::Base.
exec_query(sql, name = nil, binds = []) Instance Public methods
odd?() Instance Public methods
all() Instance Public methods Returns an ActiveRecord::Relation
last(limit = nil) Instance Public methods Find the last record (or last N records
reset() Instance Public methods
scope() Instance Public methods Returns a Relation object for the
find_or_create_by(attributes, &block) Instance Public methods Finds the
build(lhs_class, name, options) Class Public methods
destroy_all(conditions = nil) Instance Public methods Destroys the records matching
has_attribute?(attr_name) Instance Public methods Returns true
Page 32 of 100