Module: MongoMapper::Plugins::Rails

Defined in:
lib/mongo_mapper/plugins/rails.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(model) ⇒ Object



5
6
7
# File 'lib/mongo_mapper/plugins/rails.rb', line 5

def self.configure(model)
  model.extend ActiveModel::Naming if defined?(ActiveModel)
end