RailsCasts Pro episodes are now free!

Learn more or hide this

Sam Kim's Profile

GitHub User: skk1

Comments by Sam Kim

Avatar

I'm running into a problem. This is a good One to one nested form, but we usually do one to many nested forms.

I've had trouble using this because I can't assign multiple things. How would I deal with features like "link_to_add" or "link_to_remove" and assigning multiple, say salaries, to a player? Unlike nested forms(with simple form) doing f.input :amount passes in ONE value for the :amount since it does not recognize that there are multiple salaries.