Hey guys

I am new to ruby and programming in general. I tried to create a login
system using ruby gems and got this message. Some body help.

Here is the error message.

NoMethodError in Account#signup
Showing app/views/account/signup.rhtml where line #8 raised:

undefined method `login' for #<User:0x4d3c5d0>

Extracted source (around line #8):

5:   <%= error_messages_for 'user' %><br/>
6:
7:   <label for="user_login">Desired login:</label><br/>
8:   <%= text_field "user", "login", :size => 30 %><br/>
9:   <label for="user_password">Choose password:</label><br/>
10:   <%= password_field "user", "password", :size => 30 %><br/>
11:   <label for="user_password_confirmation">Confirm password:</
label><br/>



RAILS_ROOT: C:/INSTAN~1/rails_apps/project/config/..



Will be very greatful.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to