I have a User model and a Tracker model the goal is to have a user having: - one tracker that was created by this user
Trying to view an attribute to a referenced document.The issue is in the task\'s index file.When I try to display the tag associated with the task I get the following error:
Until now I was using rc6 and I decided to upgrade, but it\'s totally breaking my app ? Maybe I am doing something wrong, but I believe I
Having trouble adding an embedded document.I am trying to add a tag which is embedded in the user. user.rb
I\'m having a problem where i\'m trying to reference a model called user twice from a comment model. The first instance is because a user can have many comments (as recipient)
I\'m new to Rails3 and Ruby in general, but I may be running into an issue with the Ruby oauth-plugin itself.I\'m attempting to use the
what are the key points that one should think of while choosing betwee开发者_开发问答n embeds_many and references_many (or embeds_one and references_one) in Mongoid?
I have an app using Mongoid on top of MongoDB and an update is failing silently. The code looks like this:
My current rails app is backed by mongoid/mongo. Between each test I want to clear the database. To this I run
New to MongoDB and trying to get a second test project working. I emphasize second because I\'m wondering if that may be part of the problem as in /data/db/ i still have the files for the first proof-