In a has_many_through association where both records exist how do I create
a new association
In this case Person has_many_pictures through person_picture and I'm trying
to add an existing picture to an existing person like this:
@person.pictures << @picture
But this creates a new picture instead of adding the association
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 post to this group, send email to email@example.com.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.