mongomapper
Ruby on Rails fails to connect to Mongodb locally using MongoMapper
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[详细]
2023-01-06 07:00 分类:问答Modifying an Existing Rails Gem
开发者_运维技巧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[详细]
2023-01-05 06:28 分类:问答MongoMapper - Updating existing records with new keys
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[详细]
2023-01-05 00:09 分类:问答How to make Rails load a plugin *after* the application code?
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:[详细]
2023-01-04 21:51 分类:问答Complex hash editing with MVC/Padrino ruby 1.8.x
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[详细]
2023-01-04 20:43 分类:问答MongoMapper, Rails, Increment Works in Console but not Controller
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.[详细]
2023-01-03 16:27 分类:问答MongoMapper and bson_ext problem
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.[详细]
2022-12-31 17:21 分类:问答Mongomapper - bootstrapping techniques
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.[详细]
2022-12-31 09:25 分类:问答how to have separate keys per record in mongo_mapper + Rails
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[详细]
2022-12-31 09:02 分类:问答Wrapping my head around MongoDB, mongomapper and joins
I\'m new to MongoDB and I\'ve used RDBMS for years. Anyway, let\'s say I have the following collections:[详细]
2022-12-31 03:10 分类:问答