Help!

hi
am a new ror user
need some help for validation errors…
this is the error i see…

‘’’’’’’
NoMethodError in Login#add_user
Showing app/views/login/add_user.rhtml where line #14 raised:

undefined method `password’ for #User:0x46d6a4c

Extracted source (around line #14):

11:


12:


13: Password:
14: <%= form.password_field :password, :size => 40 %>
15:


16:


17: Confirm:

‘’’’’’’

Please help asap…
am tryn to validate users using password and a salt value.

u need add a custom attribute to your user model:
class User < ActiveRecord
attr_accessor :password

#other code
end
2008/1/10, dev_ror [email protected]:

thnx
will let u kno if it works…

thnx it really helpd…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs