Class: ActiveHouse::Model

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming
Includes:
Connecting, Logger, Modeling, Querying, Scoping, ActiveModel::Conversion
Defined in:
lib/active_house/model.rb

Class Method Summary collapse

Methods included from Logger

#logger

Methods included from Modeling

#[], #[]=, #as_json, #assign_attributes, #initialize, #method_missing, #respond_to_missing?, #to_h

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveHouse::Modeling

Class Method Details

.table_name(name) ⇒ Object



22
23
24
# File 'lib/active_house/model.rb', line 22

def table_name(name)
  self._table_name = name.to_s
end