This project is archived and is in readonly mode.

#397 ✓resolved
Ben Munat

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

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>

Attachments

Pages