I\'m new to rails (rails 3) and I am learning in practice. I want to create a User-profile relation. I have created a User model with devise, and that is working well. Then I created a Profile model.
I need users to be able to become fans of other users. How should I design/set this up? I need to be able to view details of user fans.
I have a model, which has and array of names and I want to ensure that only one document can have a given name. I\'m trying to write a custom validation to handle this. My custom validation and the mo
I want to store blog and its tags as separate documents. Blog post should have tag_ids field and tag shouldn\'t have blog_posts_ids field.
I have one model based on ActiveRecord and another based on a Mogoid::Document. Is that possible to do an association together ?
I\'ve got a User model that is utilizing mongoid.The model has a password, password_confirmation and encrypted_password field.The password and password_confirmation fields are populated at runtime wit
Howconnect to different db depending on @request.hostvalue? Using Sinatra and MongoDB with Mongoid. I need to read a Sintra application\'s menu, data ... from different databases. I wish to deploy it
I am getting multiple similar JSON object from a remote site and looking to store them in a local MongoDB.
I have a rake task that processes a set of records and saves it in another collection: batch = [] Record.where(:type => \'a\').each do |r|
Hey I\'m trying to build a rails 3 app with Mongoid (for MongoDB). What I\'m now trying to do: Languages: