Method: Webhookdb::Postgres.load_models
- Defined in:
- lib/webhookdb/postgres.rb
.load_models ⇒ Object
After configuration, require in the model superclass files, to make sure their .db gets set and they’re in model_superclasses.
146 147 148 149 150 151 |
# File 'lib/webhookdb/postgres.rb', line 146 def self.load_models self.load_superclasses Appydays::Loggable[self].silence(:fatal) do self.require_models end end |