Class: MongoDbDocument

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/mongo_db_document.rb

Instance Method Summary collapse

Instance Method Details

#mongo_db_objectObject



8
9
10
# File 'app/models/mongo_db_document.rb', line 8

def mongo_db_object
  klass_name.constantize.find(mongo_db_object_id)
end