I\'m very new to rails and have been trying to experiment with using Mongodb on a web app. I have been following this railscast tutorial here word for word and have been running into issues with it n
开发者_运维技巧I\'m playing around with MongoMapper and have cloned the repository. I\'d like to start modifying the code but am new to Rails and am not sure how to do this.You can checkout the github
When adding a key to an existing model (with existing data) via MongoMapper, I can create new documents with the new key but when trying to access existing documents using that same key it fails stati
I\'m trying to write a plugin that defines a MongoMapper model. The problem is that when I run script/console, I get this error:
I\'m new to MVC. I\'m using Padrino with MongoMapper and Haml to try to create this application. I have a database of 开发者_开发技巧items, each of which has a hash associated with it called \'params
I\'m using mongo_mapper 0.7.5 and rails 2.3.8, and I have an instance method that works in my console, but not in the controller of my actual app. I have no idea why this is.
I can\'t get MongoMapper to work with my Rails app. I get this error message: **Notice: C extension not loaded. This is required for optimum MongoDB Ruby driver performance.
I\'ve just begun creating a rails application using mongomapper for my models. I\'m wondering what solution should I use for bootstrapping my app with it.
When I\'m adding a record in mongodb I can specify whatever keys I want and it will store it in the db. The problem is that it will remember those keys for the next time I insert another record. so fo
I\'m new to MongoDB and I\'ve used RDBMS for years. Anyway, let\'s say I have the following collections: