Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/trunk/activerecord/lib/active_record/calculations.rb


Mode:

Legend:

Added
Modified
Copied or renamed
Rev Chgset Date Author Log Message
(edit) @9243 [9243] 04/08/08 05:20:33 rick ActiveRecord::Base#sum defaults to 0 if no rows are returned. Closes …
(edit) @9223 [9223] 04/04/08 12:06:22 nzkoz Don't double include DISTINCT when the user has already specified it. …
(edit) @9043 [9043] 03/17/08 04:02:34 david Ensure that you can still do expressions in calculations (closes #11355) …
(edit) @9018 [9018] 03/13/08 03:06:51 rick Ensure that ActiveRecord::Calculations disambiguates field names with the …
(edit) @8778 [8778] 02/02/08 04:28:42 bitsweat Fix calculations on associations with custom :foreign_key. Closes #8117
(edit) @8494 [8494] 12/27/07 11:18:30 bitsweat Ruby 1.9 compat: calculations don't assume array implementation of ordered …
(edit) @8381 [8381] 12/13/07 19:51:44 marcel Remove references to nonexistent :joins documentation. Closes #10498
(edit) @8306 [8306] 12/05/07 20:51:03 marcel Document how the :include option can be used in Calculations::calculate. …
(edit) @8113 [8113] 11/08/07 03:37:16 marcel Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]
(edit) @8109 [8109] 11/07/07 15:07:39 david Address shortcomings of changeset [8054] [protocool]
(edit) @8106 [8106] 11/06/07 23:33:40 marcel Standardize on using hyphens rather than colons to separate option names …
(edit) @8061 [8061] 10/31/07 05:58:09 nzkoz Escape table names during calculation queries. [wesley.moxam, Koz] Closes …
(edit) @8054 [8054] 10/29/07 21:39:52 bitsweat Introduce finder :joins with associations. Same :include syntax but with …
(edit) @7192 [7192] 07/17/07 20:16:35 rick Fix and properly document/test count(column_name) usage. Closes #8999
(edit) @7189 [7189] 07/16/07 20:26:10 rick Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993
(edit) @6919 [6919] 06/01/07 03:26:51 bitsweat Calculations support non-numeric foreign keys. Closes #8154.
(edit) @6904 [6904] 05/30/07 06:57:04 bitsweat Calculations: return nil average instead of 0 when there are no rows to …
(edit) @6470 [6470] 03/27/07 14:04:06 rick documentation project patches, closes #7342, #7319, #7316, #7190
(edit) @5426 [5426] 11/05/06 02:01:31 bitsweat SQLite: count(distinct) queries supported in >= 3.2.6, fix calculations …
(edit) @5204 [5204] 09/29/06 07:48:16 bitsweat Include caller of deprecated count method.
(edit) @5192 [5192] 09/26/06 17:02:45 bitsweat Deprecation: count class method should be called with an options hash …
(edit) @4417 [4417] 06/03/06 21:19:36 david Fixed that count distinct should use the selected column even when using …
(edit) @4318 [4318] 04/30/06 20:36:37 rick Namespaced OrderedHash so the Rails implementation does not clash with any …
(edit) @4297 [4297] 04/28/06 01:12:18 marcel When grouping, use the appropriate option key. [Marcel Molina Jr.]
(edit) @4291 [4291] 04/27/06 22:39:45 marcel Add support for FrontBase (http://www.frontbase.com/) with a new adapter …
(edit) @4269 [4269] 04/25/06 18:53:19 rick Fix bug where calculations with long alias names return null. [Rick]
(edit) @4264 [4264] 04/25/06 05:25:04 rick Allow all calculations to take the :include option, not just COUNT (closes …
(edit) @4237 [4237] 04/19/06 21:37:54 rick Fix the HasManyAssociation#count method so it uses the new …
(edit) @4211 [4211] 04/14/06 14:14:19 rick Modify ActiveRecord::Base.count so it shares the same signature as …
(edit) @4192 [4192] 04/06/06 20:10:44 rick fix calculations for the Oracle Adapter (closes #4626) [Michael Schoen]
(edit) @4185 [4185] 04/06/06 15:23:56 rick Enable Limit/Offset in Calculations (closes #4558) [lmarlow@yahoo.com]
(edit) @4078 [4078] 03/28/06 03:06:40 david Fixed documentation
(edit) @4069 [4069] 03/27/06 23:28:19 david Making ActiveRecord faster [skaes]
(edit) @4064 [4064] 03/27/06 06:19:31 nzkoz Add support for :include to with_scope …
(edit) @3882 [3882] 03/16/06 02:46:01 rick Added Base.abstract_class? that marks which classes are not part of the …
(edit) @3865 [3865] 03/14/06 14:59:14 rick Allow ordering of calculated results and/or grouped fields in calculations …
(edit) @3741 [3741] 03/02/06 02:53:57 david Doc fix (closes #4014) [thijs@fngtps.com]
(edit) @3722 [3722] 03/01/06 16:25:14 david Make calculations typecasty! (closes #4016) [Rick Olson]
(edit) @3653 [3653] 02/25/06 23:41:51 david Compatibility patches for calculations
(add) @3646 [3646] 02/25/06 23:06:04 david Added calculations: Base.count, Base.average, Base.sum, Base.minimum, …
Note: See TracRevisionLog for help on using the revision log.