Joined May 2011
·

Matt Darby

Neo
·
Columbus, OH
·
·
·

Thinking back. I seem to remember running into this a couple times before. Essentially, all seems right, then you go to use a route in your view -- say projectpath(@project). It will throw an error as it doesn't know what to do with the ivar. If you then change the route to projectpath(@project.id) it will work. It must use the :member option to infer what attribute it should use for the route?

Achievements
119 Karma
0 Total ProTip Views