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
18 19 20 |
# File 'lib/mongo_mapper/rails_compatibility/embedded_document.rb', line 18 def column_names keys.keys end |
#human_name ⇒ Object
22 23 24 |
# File 'lib/mongo_mapper/rails_compatibility/embedded_document.rb', line 22 def human_name self.name.demodulize.titleize end |