Mock out what we need from AR::Base.
string_to_json(string) Instance Public methods
column(column_name, type, options = {}) Instance Public methods Adds a new column
marshal_dump() Instance Public methods
generated_association_methods() Instance Public methods
serialized_attributes Instance Public methods Returns a hash of all the attributes
readonly(value = true) Instance Public methods Sets readonly attributes for
find_or_create_by!(attributes, &block) Instance Public methods Like
key?(oid) Instance Public methods
attributes_before_type_cast() Instance Public methods Returns a hash of attributes
update_counters(id, counters) Instance Public methods Make sure the lock version
Page 49 of 100