This project is archived and is in readonly mode.
Add :from option to Calculations module
Reported by Ben Munat | June 12th, 2008 @ 12:43 AM | in 2.1.1
This patch adds the same :from option that AR::Base has to the Calculations module.
The :from option allows you to override the table name in the query (or to force MySQL to use a specified index, which is what we use it for).
Comments and changes to this ticket
-
Jeremy Kemper June 12th, 2008 @ 02:05 AM
- Milestone set to 2.1.1
- State changed from new to open
- Assigned user set to Jeremy Kemper
-
Repository June 12th, 2008 @ 02:11 AM
- State changed from open to resolved
(from [67e8ec0e07314d367b1dc19ed3a1edf05105f8ce]) Add :from option to calculations. [#397 state:resolved]
-
Repository June 12th, 2008 @ 02:11 AM
(from [ddab9d7fdf49eb064f3f669bbf6ebb41e75e9fb5]) Add :from option to calculations. [#397 state:resolved]
-
John Wulff October 15th, 2008 @ 12:46 AM
- Tag set to activerecord, patch, tested
Really glad this made it in. Thanks everyone.
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>