Ruby on Rails Friday, May 31, 2013

On Fri, May 31, 2013 at 6:50 AM, Dave Castellano <lists@ruby-forum.com> wrote:

> My problem is, I cannot figure out how to delete the picture
> in the question and at the same time not delete it from the gallery ie
> delete the pictures_questions association but not the
> galleries_pictures association.

http://guides.rubyonrails.org/association_basics.html#has_and_belongs_to_many-association-reference

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDB8TodXqJxcbR1YeqcPSsrZLOnuff%2B96vGi2Dv9%2B1gLg%40mail.gmail.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment