Mock out what we need from AR::Base.
new(*args, &block) Instance Public methods Initializes new record from relation
quote_string(s) Instance Public methods Quotes a string, escaping any ' (single
remove_index_sql(table_name, options = {}) Instance Protected methods
table_exists?(name) Instance Public methods Returns true if table exists. If
adapter_name() Instance Public methods Returns 'PostgreSQL' as adapter name
suppress_messages() Instance Public methods
attribute_method?(attr_name) Instance Protected methods
prepare_column_options(column, types) Instance Public methods This can be overridden
reflect_on_aggregation(aggregation) Instance Public methods Returns the AggregateReflection
translate_exception(exception, message) Instance Protected methods
Page 71 of 100