RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: neverbendeasy
Hey thanks so much for sharing your code Spencer, it really helped me with customizing this episode to my project. You're awesome!
Yeah, I also had issues getting the form fields to show up if I didn't put anything in the controller.
My user model had a profile model. The relationship was has_one and belongs_to.
I had to add the following to the users controller.
profile = @user.build_profile
Thank you @LucasCioffi, changing the location of my link_to_add definitely fixed the undefined method error!