search for: addr_city

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

Did you mean: addr_bits
2005 Jul 13
0
Testing failing
...tes the hash, but we get nil back. Any ideas what I''m doing wrong? I haven''t tried the log in method yet, I wanted the hash test to work first. require "digest/sha1" class Profile < ActiveRecord::Base validates_presence_of :name, :email, :description, :addr_city, :addr_sta te, :addr_zip, :username attr_accessor :password #================================= # Hash the password before save #================================= def before_create self.hashed_password = hash_password( self.password ) end #=============...