Mock out what we need from AR::Base.
references(*args) Instance Public methods Adds a reference. Optionally adds
scoping() Instance Public methods We don't want this object to be put on the
index_name_exists?(table_name, index_name, default) Instance Public methods Verifies
index_algorithms() Instance Public methods
increment_counter(counter_name, id) Instance Public methods Increment a numeric
table_exists?(name) Instance Public methods
show_variable(name) Instance Public methods SHOW VARIABLES LIKE 'name'
reap() Instance Public methods Removes dead connections from the pool. A dead
tables(name = nil) Instance Public methods Returns the list of all tables in
update_all(updates) Instance Public methods Updates all records with details
Page 66 of 100