Hello. I have come across a scenario where I need to save multiple records for multiple users on the same page.
User has_many :shifts Shift belongs_to :user I need to show multiple shifts for each user on the same page and the administrator will just enter some values and click save. Example: user1: <shift1_value> - <shift2_value> - <shift3_value> user2: <shift1_value> - <shift2_value> - <shift3_value> user3: <shift1_value> - <shift2_value> - <shift3_value> [save] What's the best way to tackle this problem in rails? Thank you. -- 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+unsubscr...@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/msg/rubyonrails-talk/-/72HFVK-JilIJ. For more options, visit https://groups.google.com/groups/opt_out.