Class: CanTango::Configuration::Models::Mongoid

Inherits:
Mongo
  • Object
show all
Defined in:
lib/cantango/config/models/mongoid.rb

Instance Method Summary collapse

Methods inherited from Mongo

#available_models

Instance Method Details

#modelsObject



5
6
7
# File 'lib/cantango/config/models/mongoid.rb', line 5

def models
  ::Mongoid.database.collections
end