Module: MongoMapper::RailsCompatibility::EmbeddedDocument::ClassMethods
- Defined in:
- lib/mongo_mapper/rails_compatibility/embedded_document.rb
Instance Method Summary collapse
Instance Method Details
#column_names ⇒ Object
17 18 19 |
# File 'lib/mongo_mapper/rails_compatibility/embedded_document.rb', line 17 def column_names keys.keys end |
#human_name ⇒ Object
21 22 23 |
# File 'lib/mongo_mapper/rails_compatibility/embedded_document.rb', line 21 def human_name self.name.demodulize.titleize end |