Ruby on Rails Saturday, September 14, 2019

I have a table of items and a table a pictures table They relate to each other through an item_pictures table having model name item_picture All my items have titles but I just added captions to my pictures table and now I wanna update all the records in pictures to set the captions column to the value of each picture's item's title

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c5a41104-770c-48ba-abc9-450e4e1096f5%40googlegroups.com.

No comments:

Post a Comment