search for: ask_passwords

Displaying 1 result from an estimated 1 matches for "ask_passwords".

Did you mean: as_password
2012 May 14
1
undefined method `parse' for String:Class
...t; true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/ ''gem list rails'' give me : rails (3.1.3, 2.3.4) the file add_admin.rake : namespace :mailserv do def ask_passwords pass1 = ask("Password: ") do |q| q.echo = "*" q.validate = /^.{6,31}$/ q.responses[:not_valid] = "Please use a stronger password (min 6 characters)" end pass2 = ask("Password Confirm: ") {|q| q.echo = "*" } while...