Which plugin are you using?
Have you included the necessary modules in your User model?
Christian
On 11 Sep 2008, at 16:50, Gig_gift wrote:
>
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---