I have been following the mongoid railscast and I am facing a multi parameter attributes problem when i add a new fieldfield :published_on, :type => Date
For example User references_many :answers Answer references_many :users Say we are deleting answers for a given user, how do we do it such that both the references on the user开发者_高级运维/answe
I have a model class Emplo开发者_JS百科yee include Mongoid::Document field :first_name field :last_name
I have following data models. In which a Project embeds many ComponentDescriptor, and a ComponentDescriptor embeds many Statistic.
I have two models class Person embeds_one :address end class Address embedded_in :person field :city validates :city, :presence => true
I\'m new to Rails programming. I was thinking about implementing devise and omniauth authentication per railscast tutorial. Since I don\'t know mongoid yet, I was planning on just starting with Active
I\'m facing some problems when trying to assert that a method in a Mongoid::Document class is invoked by my controller code:
I am having a really hard time. I am using cucumber tests for visiting a link. I am using the pickle web steps for
I have following scope for Mongoid model in Rails 3: class Expert include Mongoid::Document referenced_in :category
After much playing around in the console, I came up with this method to group activerecord-like (Mongoid) objects by the day on which they occured. I\'m not sure this is the best way to accomplish thi