This project is archived and is in readonly mode.
Comments and changes to this ticket
-
Ryan Bates August 15th, 2008 @ 09:53 PM
It's probably best to fix this for other objects as well.
reflection == Object.new # raises an error
Attached is a patch which ensures the object is a reflection before comparing.
-
Pratik August 16th, 2008 @ 08:21 PM
- Title changed from PATCH: ActiveRecord::Reflection cannot be compared with nil to ActiveRecord::Reflection cannot be compared with nil
-
Repository August 16th, 2008 @ 08:39 PM
- State changed from new to resolved
(from [8f4d3957a6986fe450cfd9058bb92ae1d6e5e745]) Don't raise exception when comparing ActiveRecord::Reflection. [#842 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 842 ActiveRecord::Reflection cannot be compared with nil (from [8f4d3957a6986fe450cfd9058bb92ae1d6e5e745]) Don't r...