Class: Superstore::Base

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming, ActiveRecord::ConnectionHandling, ActiveRecord::Delegation::DelegateCache, ActiveSupport::DescendantsTracker
Includes:
ActiveModel::Conversion, ActiveModel::Serializers::JSON, ActiveRecord::Associations, ActiveRecord::Attributes, ActiveRecord::AutosaveAssociation, ActiveRecord::Inheritance, ActiveRecord::ModelSchema, ActiveRecord::Reflection, GlobalID::Identification, Associations, AttributeMethods, AttributeMethods::Dirty, AttributeMethods::PrimaryKey, AttributeMethods::Typecasting, Caching, Callbacks, Connection, Core, Identity, Inspect, Model, Persistence, Scoping, Timestamps, Validations
Defined in:
lib/superstore/base.rb

Method Summary

Methods included from Caching

#cache_key

Methods included from Callbacks

#destroy

Methods included from AttributeMethods::PrimaryKey

#attributes, #id, #id=

Methods included from AttributeMethods::Dirty

#old_attribute_value, #reload, #save, #unapplied_changes, #write_attribute

Methods included from Validations

#save, #save!

Methods included from AttributeMethods

#attribute_present?, #attributes, #attributes=, #has_attribute?, #method_missing, #read_attribute, #respond_to?, #write_attribute

Methods included from Persistence

#becomes, #destroy, #destroyed?, #new_record?, #persisted?, #reload, #save, #update, #update!, #update_attribute

Methods included from Inspect

#attribute_for_inspect, #inspect

Methods included from Core

#==, #eql?, #hash, #initialize, #initialize_dup, #to_param

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Superstore::AttributeMethods