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



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

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