form validation not showing errors

Hi I have a simple form where the user can sign up with an email and
password and click the create button but when this is done no action
happens and even when I fill in the form blank no error messages
are shown .What could be the issue in my code?

Attachments:
http://www.ruby-forum.com/attachment/7801/_form.html.erb
http://www.ruby-forum.com/attachment/7802/new.html.erb
http://www.ruby-forum.com/attachment/7803/_error_messages.html.erb
http://www.ruby-forum.com/attachment/7804/users_controller.rb
http://www.ruby-forum.com/attachment/7805/user.rb

Hi I have a simple form where the user can sign up with an email and
password and click the create button but when this is done no action
happens and even when I fill in the form blank no error messages
are shown .What could be the issue in my code?

Have a look at the Rails Guide on debugging, that will give you ideas
on how to debug the code and work out what is going wrong.

Colin

On your _form.html.erb, you have to use as :-

<%= form_for (@user, :validate => true) do |f|%>
Try this… :validates => true triggers validations.

Hope this helps…