Module: PgSchema::Loader::ClassMethods
- Defined in:
- lib/pg_schema.rb
Instance Method Summary collapse
-
#inherited(base) ⇒ Object
Let ActiveRecord do its magic and then include our overrides once a model inherits from ActiveRecord::Base.
Instance Method Details
#inherited(base) ⇒ Object
Let ActiveRecord do its magic and then include our overrides once a model inherits from ActiveRecord::Base
12 13 14 15 |
# File 'lib/pg_schema.rb', line 12 def inherited(base) base.send(:include, PgSchema::Base) super end |