Module: Rails::Mongomatic::Support::ClassMethods

Defined in:
lib/rails/mongomatic/support.rb

Instance Method Summary collapse

Instance Method Details

#model_nameObject



32
33
34
# File 'lib/rails/mongomatic/support.rb', line 32

def model_name
  @_model_name ||= ActiveModel::Name.new(self)
end