Guest User

Untitled

a guest
Oct 23rd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. validates_length_of
  2. :password, :within => 6..8,
  3. :message => "Password length must be 6 to 8",
  4. :unless => Proc.new { |ext| ext.domain_id != params[:my_form_var_here] }
Add Comment
Please, Sign In to add comment