Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move JoinDependency and friends from ↵ | Jon Leighton | 2011-02-28 | 1 | -2/+2 |
| | | | | ActiveRecord::Associations::ClassMethods to just ActiveRecord::Associations | ||||
* | keep options titles consistent to "Options" | Gabriel Horner | 2011-02-03 | 1 | -1/+1 |
| | |||||
* | use select_all because not all database adapters support bind values | Aaron Patterson | 2011-01-08 | 1 | -1/+1 |
| | |||||
* | stop creating intermediate AR objects, just construct AR objects from a list ↵ | Aaron Patterson | 2011-01-07 | 1 | -1/+2 |
| | | | | of hashes | ||||
* | Explicitly select * from has_and_belongs_to_many association tables, ↵ | Raimonds Simanovskis | 2011-01-04 | 1 | -1/+1 |
| | | | | | simplify exists? query Previous version (after commit 3103296a61709e808aa89c3d37cf22bcdbc5a675) was generating wrong SQL for Oracle when calling exists? method on HABTM association. | ||||
* | ActiveRecord::Relation#primary_key should return a string, just like ↵ | Jon Leighton | 2011-01-03 | 1 | -9/+9 |
| | | | | ActiveRecord::Base.primary_key does. | ||||
* | taking advantage of the JoinSource node in the SQL AST | Aaron Patterson | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | passing the ast to JoinDependency | Aaron Patterson | 2010-12-07 | 1 | -1/+1 |
| | |||||
* | use the columns hash for primary key lookup | Aaron Patterson | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | reduce method calls on arel | Aaron Patterson | 2010-11-30 | 1 | -1/+1 |
| | |||||
* | use ARel rather than generate SQL strings | Aaron Patterson | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | moving column_aliases to JoinDependency | Aaron Patterson | 2010-11-24 | 1 | -10/+1 |
| | |||||
* | Finder gives a little bit more info on the lookup column (primary key) | Franck Verrot | 2010-11-13 | 1 | -1/+1 |
| | |||||
* | stop recursively calling exists? | Aaron Patterson | 2010-11-05 | 1 | -3/+5 |
| | |||||
* | Fixes queries using limits and punctuation in order, removes order("col1, ↵ | Santiago Pastorino | 2010-11-05 | 1 | -1/+1 |
| | | | | | | col2") usage in favor of order(["col1", "col2"}) [#4597 state:committed] | ||||
* | find_one uses prepared statement cache | Aaron Patterson | 2010-10-26 | 1 | -1/+6 |
| | |||||
* | Renaming and formatting changes in JoinDependency | Jon Leighton | 2010-10-13 | 1 | -2/+5 |
| | |||||
* | stop using deprecated arel API | Aaron Patterson | 2010-10-12 | 1 | -2/+2 |
| | |||||
* | converting an inject to a map + Hash[] | Aaron Patterson | 2010-09-10 | 1 | -1/+1 |
| | |||||
* | Use new finders syntax in docs. | Emilio Tagua | 2010-09-01 | 1 | -16/+16 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -7/+7 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Removing most of the symbol to proc usage in Active Record | Prem Sichanugrist | 2010-08-13 | 1 | -1/+1 |
| | | | | This will hopefully make Active Record run a bit more faster. | ||||
* | stop using private methods | Aaron Patterson | 2010-08-11 | 1 | -2/+2 |
| | |||||
* | do not pass AR objects to ARel | Aaron Patterson | 2010-08-04 | 1 | -0/+2 |
| | |||||
* | avoid passing AR::Base objects to Arel when we can | Aaron Patterson | 2010-08-03 | 1 | -0/+2 |
| | |||||
* | ensuring that description does not exceed 100 columns | Neeraj Singh | 2010-08-02 | 1 | -9/+14 |
| | |||||
* | Fix the #using_limitable_reflections? helper to work correctly by not ↵ | Ken Collins | 2010-07-08 | 1 | -1/+1 |
| | | | | | | examining the length of an array which contains false/true, hence always passing. [#4869 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove block definitions in finder methods. | Emilio Tagua | 2010-06-24 | 1 | -4/+4 |
| | |||||
* | 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 eager loading of associations causing table name collisions | Ernie Miller | 2010-04-28 | 1 | -1/+0 |
| | | | | | | [#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)> | ||||
* | Make Relation#first and Relation#last behave like named scope's | Pratik Naik | 2010-04-02 | 1 | -2/+18 |
| | |||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+2 |
| | |||||
* | Move methods from association to relation finder methods. | Emilio Tagua | 2010-03-25 | 1 | -2/+11 |
| | |||||
* | Use @limit_value and @offset_value instead of calling arel | Pratik Naik | 2010-01-20 | 1 | -4/+4 |
| | |||||
* | Delegate exists? to Relation | Pratik Naik | 2010-01-20 | 1 | -3/+33 |
| | |||||
* | Delegate all finders to Relation | Pratik Naik | 2010-01-20 | 1 | -29/+147 |
| | |||||
* | Remove Relation#where_clause | Pratik Naik | 2010-01-19 | 1 | -2/+2 |
| | |||||
* | Delegate count to Relation | Pratik Naik | 2010-01-19 | 1 | -1/+6 |
| | |||||
* | Add Relation#construct_relation_for_association_calculations for ↵ | Pratik Naik | 2010-01-19 | 1 | -0/+6 |
| | | | | calculations with includes | ||||
* | Add Relation#find_with_associations to load relation with eager loaded ↵ | Pratik Naik | 2010-01-19 | 1 | -0/+36 |
| | | | | associations | ||||
* | Delay building arel relation as long as possible for improved introspection | Pratik Naik | 2010-01-12 | 1 | -4/+4 |
| | |||||
* | Use Arel::Attribute for pk conditions | Pratik Naik | 2010-01-01 | 1 | -4/+4 |
| | |||||
* | Organize Relation methods into separate modules | Pratik Naik | 2009-12-30 | 1 | -0/+120 |