Changeset 1306

Show
Ignore:
Timestamp:
01/15/08 10:39:36 (9 months ago)
Author:
jon.egil.stra..@gmail.com
Message:

Update to 0.4.2 complete. Now on to 0.5.2

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mrblog/branches/0.4.2/app/models/user.rb

    r1203 r1306  
    1313  validates_length_of       :email,    :within => 3..100 
    1414  validates_uniqueness_of   :login, :email 
    15   before_save :encrypt_password 
     15  before_save               :encrypt_password 
    1616 
    1717  # Authenticates a user by their login name and unencrypted password.  Returns the user or nil.