This project is archived and is in readonly mode.
Changeset [d20e8dd2207a848e2712c19ad38d6abb6f98ca07] by Lucas Carlson
Revision d20e8dd2207a848e2712c19ad38d6abb6f98ca07,
committed by Repository
· July 3rd, 2008 @ 05:24 AM
Changing order of equality because comparing certain objects with false raises an error.
>> require 'md5'
=> true
>> MD5.new("Asds") == false
TypeError: can't convert false into String
from (irb):2:in `=='
from (irb):2
>> false == MD5.new("Asds")
=> false
1 changed file
-
M
activerecord/lib/active_record/callbacks.rb