mongomapper
Running both MongoDB and Mysql on Rails 2.3.6
In Rails 2.3.6 I\'m trying to use both MongoDb via MongoMapper and Mysql on the same application. I\'ve seen several others question about this but I cannot find how to configure rails to use bo开发者[详细]
2023-04-13 06:41 分类:问答MongoDB: getting ObjectId of last inserted document with multiple, concurrent writers?
Consider the following scenario wi开发者_运维百科th MongoDB: Three writers (A,B,C) insert a document into the same collection.[详细]
2023-04-12 15:43 分类:问答admin? doesn't work with Mongo Mapper
I was trying to play with MongoDb and using the Rails Tutorial to create users.I\'m using the Mongo_mapper gem.I have that all set up but I\'m at the point where it seems that ActiveRecord functions/m[详细]
2023-04-12 04:35 分类:问答Model that references many of itself?
Given the following class, how would I allow a node to have a many to many relationship with other nodes (such as parent_node and child_nodes)?[详细]
2023-04-10 06:47 分类:问答MongoMapper examine query
How I can check w开发者_C百科hich query will be send to the MongoDB server when I call a certain association on my model from the Rails console ?turn on MongoMapper logging in your connection string ([详细]
2023-04-09 04:28 分类:问答MongoMapper memory leak when querying an array of IDs
I run this query in a rails console process that has a \"5.3%\" memory usage开发者_StackOverflow. (User is a MongoMapper::Document-included class)[详细]
2023-04-09 03:53 分类:问答Mongomapper: Embedded document does not work properly
I don\'t know what\'s going on but I can\'t seem to find working a very small piece of code. I used mongomappper without embedded documents and everything went fine. Using an embedded document I hit t[详细]
2023-04-05 06:12 分类:问答Database Cleaner mongomapper and cucumber
#/features/support/env.rb ... require \'database_cleaner\' require \'database_cleaner/cucumber\' require \'database_cleaner/mongo_mapper/truncation\'[详细]
2023-04-03 07:48 分类:问答Getting Gmaps4Rails working with MongoMapper
First off, this gem looks awesome -- thanks @apneadiving. I hope to be able to contribute one day -- once I figure out how to use it properly :-\\[详细]
2023-04-02 07:40 分类:问答MongoMapper new records contain old record's data
In our Rails app environment (ruby 1.8.7 / rails 2.3.12) I can run the following code: class MongoTester[详细]
2023-03-31 19:47 分类:问答