RailsCasts Pro episodes are now free!

Learn more or hide this

Geoff Thompson's Profile

GitHub User: thompsgr

Site: http://www.avaion.com

Comments by Geoff Thompson

Avatar

I'm running into a problem with my form, which is shared across new and edit actions. In the case of new, I need the parent and child objects passed into the form_for to generate the right route. In the case of edit, I need only the child object. I found a work-around for this problem googling around, but I'm surprised it is an issue that requires a work-around? Maybe I'm missing something?