search for: fisrt_nam

Displaying 1 result from an estimated 1 matches for "fisrt_nam".

Did you mean: fisrt_name
2009 Jul 23
0
undefined method when redering form (rails 2.3)
I have in routes.rb map.resources :user, :has_one :profile in my _form.html.erb <% form_for (@user,@profile) do |f| ... %> Profile has "fisrt_name" attribute but it fires an error : undefined method "first_name" why this? thanks!