Method: Mongoid::Config#models
- Defined in:
- lib/mongoid/config.rb
#models ⇒ Array<Class>
Get all the models in the application - this is everything that includes Mongoid::Document.
107 108 109 |
# File 'lib/mongoid/config.rb', line 107 def models @models ||= [] end |