Hey everybody, I'm very new with Ruby On Rails and I'm trying to set up a website with a simple login/register system using the restful_authentication plugin.
After having carefully followed the instructions, when trying to register a new user, I get the following error: NoMethodError in Users#new Showing app/views/users/new.html.erb where line #7 raised: undefined method `login' for #<User id: nil, name: nil, created_at: nil, updated_at: nil> Extracted source (around line #7): 4: <%= error_messages_for :user %> 5: <% form_for :user, :url => users_path do |f| -%> 6: <p><%= label_tag 'login' %><br/> 7: <%= f.text_field :login %></p> 8: 9: <p><%= label_tag 'email' %><br/> 10: <%= f.text_field :email %></p> I'm not really sure of what I should do, because there is no login method in the user controller.. Thanks a lot in advance! -- Posted via http://www.ruby-forum.com/. -- 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.

