Mock out what we need from AR::Base.
base_class() Instance Public methods Returns the class descending directly from
type_cast(value) Instance Public methods
attributes_before_type_cast() Instance Public methods Returns a hash of attributes
uncached() Instance Public methods Disable the query cache within the block
sanitize_sql_hash(attrs, default_table_name = self.table_name) Instance Protected methods
sanitize_conditions(condition, table_name = self.table_name) Instance Protected methods Alias
type_cast_config_to_integer(config) Class Public methods
content_columns() Instance Public methods Returns an array of column objects
method_missing(method, *arguments, &block) Instance Public methods
column_type(name) Instance Public methods
Page 54 of 100