Hey guys I am new to rails and was wondering how you update HABTM tables. I have a join table called platforms and another table called games. They are joined with the table games_platforms.
I have a view that creates a multi-select pick list of all the various platforms. I figured out how to repopulate the picklist with the correct items stored in my join table but I don't know how to update them. Currently, I have a params[:games] that has the input from the list and I know the game courtesy of the params[:id]. Any help would be greatly appreciated it. Thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---