Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

http://github.com/rails/rails/co...

1 changed file

  • M activerecord/lib/active_record/callbacks.rb