Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | To allow proper fisting of stack trace | Santiago Pastorino | 2010-05-14 | 1 | -3/+3 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | revises the rdoc of #average according to 5f3bd55, and realigns when clauses | Xavier Noria | 2010-05-12 | 1 | -5/+4 |
| | |||||
* | type_cast_calculated_value refactor: value is never a Fixnum here. Fix test ↵ | Santiago Pastorino | 2010-05-11 | 1 | -1/+1 |
| | | | | | | | | since SQLite returns Float. [#4514 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Improve code from 231d7676f72947bae765b9bd885b134aaf949921 | Pratik Naik | 2010-05-09 | 1 | -7/+5 |
| | |||||
* | corrected AR find_each and find_in_batches to raise when the user uses ↵ | Josh Kalderimis | 2010-05-09 | 1 | -1/+8 |
| | | | | | | select but does not specify the primary key Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Here the intention was to assign to different objects | Santiago Pastorino | 2010-05-08 | 1 | -1/+1 |
| | |||||
* | Make find_or_create and find_or_initialize work mixing explicit parameters ↵ | Santiago Pastorino | 2010-05-07 | 1 | -9/+13 |
| | | | | | | and a hash [#4457 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix unintuitive behavior with multiple order and group clauses | Ernie Miller | 2010-05-06 | 3 | -8/+9 |
| | | | | | | [#4545 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Allow pre-casted values (other than nil) to pass through from calculations ↵ | Brian Lopez | 2010-05-04 | 1 | -5/+9 |
| | | | | | | | | un-touched [#4514 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix eager loading of associations causing table name collisions | Ernie Miller | 2010-04-28 | 2 | -32/+42 |
| | | | | | | [#4463 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Some require indifferent_access added | Santiago Pastorino | 2010-04-21 | 1 | -0/+1 |
| | | | | Signed-off-by: Xavier Noria <fxn@ubuntu.(none)> | ||||
* | Build PredicateBuilder object only when needed | Pratik Naik | 2010-04-21 | 1 | -3/+1 |
| | |||||
* | Fix evals missing context | Jeremy Kemper | 2010-04-10 | 1 | -3/+3 |
| | |||||
* | Avoid deprecated String#to_a by using Array.wrap(...) instead of Array(...) | Jeremy Kemper | 2010-04-10 | 1 | -1/+2 |
| | |||||
* | Raise a StatementInvalid error when trying to build a condition with hash ↵ | Carl Lerche | 2010-04-03 | 1 | -1/+3 |
| | | | | keys that do not correspond to columns. | ||||
* | Goodbye ActiveRecord::NamedScope::Scope | Pratik Naik | 2010-04-02 | 1 | -1/+1 |
| | |||||
* | Make Relation#first and Relation#last behave like named scope's | Pratik Naik | 2010-04-02 | 1 | -2/+18 |
| | |||||
* | Add Relation extensions | Pratik Naik | 2010-04-02 | 2 | -8/+28 |
| | |||||
* | Consistency when using Relation constants | Pratik Naik | 2010-04-02 | 1 | -2/+2 |
| | |||||
* | Arel now handles ranges with excluded end. | Emilio Tagua | 2010-03-29 | 1 | -6/+1 |
| | |||||
* | Warn scoped order and limit are ignored. [#4123 state:resolved] | Emilio Tagua | 2010-03-29 | 1 | -1/+5 |
| | |||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 5 | -0/+10 |
| | |||||
* | Move methods from association to relation finder methods. | Emilio Tagua | 2010-03-25 | 1 | -2/+11 |
| | |||||
* | Refactor relation merging to create just one relation and then assign ↵ | Emilio Tagua | 2010-03-25 | 1 | -22/+14 |
| | | | | values, instead of creating multiple relation objects. | ||||
* | From and lock should be defined to be consistent with other ivars. Limit and ↵ | Emilio Tagua | 2010-03-22 | 1 | -14/+4 |
| | | | | | | | | offset are always defined, no need to test that. [#4253 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | kill where / having method redefine warnings. [#4225 state:resolved] | Aaron Patterson | 2010-03-18 | 1 | -0/+1 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Arel now fallback to using Arel::Attribute if the table/column doesn't exists. | Emilio Tagua | 2010-03-10 | 1 | -3/+1 |
| | | | | | | [#4142 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | removing spawn from SpawnMethods | Aaron Patterson | 2010-03-10 | 2 | -12/+8 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Fix scope loading issue when the table doesn't exist | Pratik Naik | 2010-03-10 | 1 | -1/+3 |
| | |||||
* | refactoring build_where | Aaron Patterson | 2010-03-06 | 1 | -7/+7 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | avoid @lock_value not initialized warning | Santiago Pastorino | 2010-02-22 | 1 | -1/+1 |
| | |||||
* | Move batch finders to Relation | Pratik Naik | 2010-02-12 | 1 | -0/+78 |
| | |||||
* | Rely on arel to generate the correct sql when an empty array is supplied to ↵ | Pratik Naik | 2010-01-30 | 1 | -1/+1 |
| | | | | IN predicate | ||||
* | Clear up some ivar warnings | Jeremy Kemper | 2010-01-27 | 1 | -3/+13 |
| | |||||
* | Simplify finder method definitions | Pratik Naik | 2010-01-21 | 1 | -13/+11 |
| | |||||
* | Supplying Arel::SqlLiteral is much faster | Pratik Naik | 2010-01-21 | 1 | -5/+12 |
| | |||||
* | Use quoted_table_name with arel.from() if no from values explicitly ↵ | Pratik Naik | 2010-01-21 | 1 | -2/+4 |
| | | | | supplied. Arel seems to be spending a lot of time figuring out the FROM value otherwise. | ||||
* | Relation#spawn is basically clone + reset | Pratik Naik | 2010-01-21 | 1 | -12/+2 |
| | |||||
* | Always use table.* in the finder query unless specified | Pratik Naik | 2010-01-21 | 1 | -1/+1 |
| | |||||
* | Use @limit_value and @offset_value instead of calling arel | Pratik Naik | 2010-01-20 | 1 | -4/+4 |
| | |||||
* | Base.merge_conditions is no longer needed | Pratik Naik | 2010-01-20 | 1 | -2/+2 |
| | |||||
* | Delegate exists? to Relation | Pratik Naik | 2010-01-20 | 1 | -3/+33 |
| | |||||
* | Move array_of_strings? to Relation | Pratik Naik | 2010-01-20 | 1 | -2/+6 |
| | |||||
* | Delegate all finders to Relation | Pratik Naik | 2010-01-20 | 2 | -42/+153 |
| | |||||
* | Ignore order for simple calculations to make postgresql happy | Pratik Naik | 2010-01-20 | 1 | -1/+2 |
| | |||||
* | Remove Relation#where_clause | Pratik Naik | 2010-01-19 | 1 | -2/+2 |
| | |||||
* | Rename CalculationMethods to Calculations and get rid of the old ↵ | Pratik Naik | 2010-01-19 | 1 | -1/+1 |
| | | | | Calculations module | ||||
* | Move the only remaining calculation method calculate() to Relation | Pratik Naik | 2010-01-19 | 1 | -30/+61 |
| | |||||
* | Get rid of construct_count_options_from_args | Pratik Naik | 2010-01-19 | 1 | -30/+0 |
| | |||||
* | Delegate count to Relation | Pratik Naik | 2010-01-19 | 2 | -5/+67 |
| |