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! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

