Module: DataMapper::ClassMethods

Defined in:
lib/upmin/data_mapper/model.rb

Instance Method Summary collapse

Instance Method Details

#model_nameObject

Returns an ActiveModel::Name object needed by Kaminari to render page_entries_info.



67
68
69
# File 'lib/upmin/data_mapper/model.rb', line 67

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