mongomapper Questions

2

Does anyone have a good resource for MongoMapper documentation? I've been reading through the mongoDB docs, but a lot of it doesn't convert across to ruby/mm. I've been trying to figure out how to ...
Sundry asked 31/7, 2010 at 7:13

2

Solved

This is just for my weekend project/study, I am very new to Sinatra and MongoDB. I've installed the gems for mongoDB, such as: mongo, mongo_mapper and mongoid. When I tried connecting to my datab...
Aplite asked 12/9, 2010 at 2:18

1

Solved

I have a gem to which I'd like to do few changes. I have it defined in my Gemfile as follows: gem 'mongo_mapper", :git => "git://github.com/jnunemaker/mongomapper", :branch => "rails3" I...
Emanative asked 27/10, 2010 at 20:27

2

Solved

I have a project which I have used Active Record and which I'd like to add some new features using MongoDB. Rather than re-invent the wheel and re-write my entire site, how can I integrate 2 models...
Detumescence asked 13/2, 2010 at 19:9

2

Solved

Is it possible to combine AR with MongoMapper/MongoID? If so, are there tutorials/documentations for this?
Anglophobe asked 24/8, 2010 at 2:21

1

Solved

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: /home/helder/.rvm/gems/ruby-1.8.7-p249/gems/mongo_mapper-0.8.2/lib/m...
Cabochon asked 25/6, 2010 at 7:12

3

Solved

I am considering using MongoDB (mongo-mapper) for a portion of my rails application. I am not ready to go whole hog MongoDB because there are too many useful gems that depend on a traditional DB. ...
Ambroseambrosi asked 21/4, 2010 at 13:49

1

I'm playing around with MongoMapper but I'm having trouble figuring out how to create a form for an object that has embedded documents. With ActiveRecord, I'd use fields_for but when asked if this...
Bandoline asked 19/3, 2010 at 19:49

2

Solved

I am beginning to think that my next project I am wanting to do would work better with a NoSQL solution. The project would either involve a ton of 2-column tables or a ton of dynamic queries with d...
Audy asked 4/4, 2010 at 5:25

8

In Ruby, there are currently 3 ODM (object data mappers) maintained: MongoMapper Mongoid MongoDoc Which is your preferred and why?
Diedra asked 10/3, 2010 at 9:14

1

Is it possible to perform a query and return the embedded documents? Currently, I have: class Post include MongoMapper::Document many :comments end class Comment include MongoMapper::Embedde...
Footmark asked 28/2, 2010 at 0:28

1

Solved

I am trying to get a better and organized result from using class inheritance with MongoMapper, but having some trouble. class Item include MongoMapper::Document key :name, String end class Pi...
Selfassurance asked 4/1, 2010 at 21:6

© 2022 - 2024 — McMap. All rights reserved.