This project is archived and is in readonly mode.

#886 ✓wontfix
Trotter Cashion

ActiveRecord::Base.find modifies the passed options hash

Reported by Trotter Cashion | August 22nd, 2008 @ 07:16 PM | in 2.x

ActiveRecord::Base.find is modifying the options hash passed to it. Since it adds keys, this can cause problems if you then call Association.count afterwards. Throwing this in now to document it. I'll submit a test / patch later.

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>

People watching this ticket

Pages