-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
Allow storing JSON natively in MongoDB via mongoid via a JSON field type.
Current workaround given on answer to this question: http://stackoverflow.com/questions/4058341/rails-store-json-in-mongodb
Involves setting an attribute not declared in the model object:
SomeMongoidObject['dynamic_attribute'] = json_data