On Thursday, 9 July 2015 04:47:00 UTC-4, Kiran Kumar wrote:
>
> I have a Model called *Review.rb*
>
> class MovieNews::Review
> include Mongoid::Document
> include Mongoid::Timestamps
> include Mongoid::Userstamp
> include Mongoid::Search
>
> field :story,
Hello,
I am having a little bit problem in deleting duplicate entry of my many to
many tables.
In many to many fields delete method is deleting all the occurrence of
collection. Say I have (demo example):
class user < ActiveRecord::Base
has_and_belongs_to_many :cars
end
class car < ActiveRecor
Thanks for the help, everyone. After following the link to github that
Elizabeth posted I was able to cut and paste some updated code.
Thanks again.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" g
3 matches
Mail list logo