Mock out what we need from AR::Base.
select_value(arel, name = nil, binds = []) Instance Public methods Returns a
take(n = nil) Instance Public methods
quoted_table_name() Instance Public methods Returns a quoted version of the
new(subtype) Class Public methods
type_cast(value) Instance Public methods
destroy(*records) Instance Public methods Destroys the records
exec_delete(sql, name = 'SQL', binds = []) Instance Public methods Also aliased
drop_table() Class Public methods
initialize_copy(other) Instance Public methods
rewhere(conditions) Instance Public methods Allows you to change a previously
Page 73 of 100