Hi,

I'm trying to create "forgot_password" page, but the error is not
showing out on the page.

user.errors[:password] = "must be longere then 5 character"

or

user.errors[:password] << "must be longere then 5 character"

in html.erb

<%= @user.errors[:password]%>

but it's empty? nothing is printed out, even so valid? is false

I'm doing something wrong?

Thanks for any help :D
-- 
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.

Reply via email to