ruby on rails - Add undefined fields in MongoDB -


i have created mongo model described here: http://docs.mongodb.org/ecosystem/tutorial/model-data-for-ruby-on-rails/

but it's creating schema. need add fields, don't know. can't describe in model. how should be?

you may check dynamic fields. depending on odm using there ways of implementing it. mongoid can check here. mongomapper has similar implementation described in thread.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -