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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -