This project is archived and is in readonly mode.

#842 ✓resolved
Bob Aman

ActiveRecord::Reflection cannot be compared with nil

Reported by Bob Aman | August 15th, 2008 @ 08:51 PM | in 2.x

ActiveRecord::Reflection instances currently throw an exception if compared with nil. I added a simple nil check to the == method.

Comments and changes to this ticket

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>

Referenced by

Pages