Mock out what we need from AR::Base.
add_column_sql(table_name, column_name, type, options = {}) Instance Protected methods
exec_query(sql, name = 'SQL', binds = []) Instance Public methods Executes sql
toggle(attribute) Instance Public methods Assigns to attribute
sum(*args) Instance Public methods Calculates the sum of values on a given column
remove_timestamps() Instance Public methods Removes the timestamp columns (
setup_fixture_accessors(fixture_set_names = nil) Instance Public methods
reconnect!() Instance Public methods Disconnects from the database if already
define(info={}, &block) Class Public methods Eval the given block. All methods
new(delegate = nil) Class Public methods
attributes=(new_attributes) Instance Public methods Alias for:
Page 66 of 100