Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Refactor: metaprogramming here it's confusing and make use of tap | Santiago Pastorino | 2010-06-26 | 1 | -64/+73 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Removes useless flatten | Santiago Pastorino | 2010-06-26 | 1 | -4/+9 | |
| | ||||||
* | Create a little bit less objects in ARel. | José Valim | 2010-06-26 | 1 | -6/+9 | |
| | ||||||
* | blocks removed from all the ActiveRelation query_methods, extend method ↵ | Santiago Pastorino | 2010-06-26 | 1 | -8/+4 | |
| | | | | | | added instead Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | reorder method added to ActiveRelation | Santiago Pastorino | 2010-06-26 | 1 | -0/+8 | |
| | | | | | | [#4972 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Support for multiple selects added | Neeraj Singh and Santiago Pastorino | 2010-06-25 | 1 | -4/+7 | |
| | | | | [#4841 state:committed] | |||||
* | Makes a build_select for the select part of build_arel | Santiago Pastorino | 2010-06-25 | 1 | -10/+13 | |
| | ||||||
* | Metaprogramming not needed here | Santiago Pastorino | 2010-06-25 | 1 | -11/+9 | |
| | ||||||
* | Only yield block if given. | Emilio Tagua | 2010-06-24 | 1 | -2/+2 | |
| | ||||||
* | Fix order method to accept relation attributes. | Emilio Tagua | 2010-06-22 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Don't waste time building relations if there are no values presents. [#4860 ↵ | Emilio Tagua | 2010-06-21 | 1 | -4/+4 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Refactor build_arel: move joins out and simplify havings. [#4860 state:resolved] | Emilio Tagua | 2010-06-20 | 1 | -46/+46 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Special treatement for Relation#select { with block } | Pratik Naik | 2010-06-02 | 1 | -1/+14 | |
| | ||||||
* | To allow proper fisting of stack trace | Santiago Pastorino | 2010-05-14 | 1 | -3/+3 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fix unintuitive behavior with multiple order and group clauses | Ernie Miller | 2010-05-06 | 1 | -6/+2 | |
| | | | | | | [#4545 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fix eager loading of associations causing table name collisions | Ernie Miller | 2010-04-28 | 1 | -31/+42 | |
| | | | | | | [#4463 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | 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 | |
| | ||||||
* | Add Relation extensions | Pratik Naik | 2010-04-02 | 1 | -4/+21 | |
| | ||||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+2 | |
| | ||||||
* | 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> | |||||
* | removing spawn from SpawnMethods | Aaron Patterson | 2010-03-10 | 1 | -6/+6 | |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | |||||
* | 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 | |
| | ||||||
* | 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. | |||||
* | Always use table.* in the finder query unless specified | Pratik Naik | 2010-01-21 | 1 | -1/+1 | |
| | ||||||
* | Base.merge_conditions is no longer needed | Pratik Naik | 2010-01-20 | 1 | -2/+2 | |
| | ||||||
* | Move array_of_strings? to Relation | Pratik Naik | 2010-01-20 | 1 | -2/+6 | |
| | ||||||
* | Make scopes use relations under the hood | Pratik Naik | 2010-01-16 | 1 | -25/+69 | |
| | ||||||
* | Use Relation#except for reversing the order | Pratik Naik | 2010-01-12 | 1 | -3/+2 | |
| | ||||||
* | Delay building arel relation as long as possible for improved introspection | Pratik Naik | 2010-01-12 | 1 | -78/+87 | |
| | ||||||
* | Add Relation#create_with to explictily specify create scope | Pratik Naik | 2010-01-04 | 1 | -0/+4 | |
| | ||||||
* | Rename a variable name for consistency | Pratik Naik | 2010-01-03 | 1 | -1/+1 | |
| | ||||||
* | Add Relation#includes to be an equivalent of current finder option :include | Pratik Naik | 2010-01-03 | 1 | -0/+4 | |
| | ||||||
* | Make sure not to spalt string arguments | Pratik Naik | 2010-01-02 | 1 | -1/+1 | |
| | ||||||
* | Move predicate building to a stand alone PredicateBuilder class | Pratik Naik | 2010-01-01 | 1 | -30/+4 | |
| | ||||||
* | Use Arel::Attribute when building where conditions from hash | Pratik Naik | 2010-01-01 | 1 | -5/+36 | |
| | ||||||
* | Organize Relation methods into separate modules | Pratik Naik | 2009-12-30 | 1 | -0/+132 | |