Displaying 1 result from an estimated 1 matches for "senha2".
Did you mean:
senha
2007 Jan 20
1
Not appear error message
...oller => ''login'', :action => ''index''}, :class => ''botao2''%>
<%= end_form_tag %>
model Usuario
--------------------------------------
class Usuario < ActiveRecord::Base
belongs_to :empresa
attr_accessor :senha1, :senha2
validates_presence_of :nome ,:message => "Preencha o campo Nome"
validates_presence_of :senha1,:message => "Preencha o campo Senha"
validates_presence_of :senha2,:message => "Preencha o campo
Confirmação de senha"
validates_presence_of...