aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Fix typo in commentCade Truitt2014-07-021-1/+1
* Encapsulate knowledge of type objects on `ActiveRecord::Result`Sean Griffin2014-06-221-10/+1
* Don't use `Column` for type casting in Relation calculationsSean Griffin2014-06-181-12/+8
* [ci skip] add API doc for AR Group.Aditya Kapoor2014-06-171-1/+9
* Pluck should work with columns of the same name from different tablesSean Griffin2014-06-111-3/+1
* ActiveRecord::FinderMethods.find passes proc parameter #15382James Yang2014-06-101-1/+1
* Rename `type_cast` to `type_cast_from_database`Sean Griffin2014-06-091-2/+2
* reuse available belongs_to? methodeileencodes2014-06-031-1/+1
* Remove unused `initialize_attributes` methodSean Griffin2014-06-021-1/+1
* Merge pull request #14834 from al2o3cr/issue14155Aaron Patterson2014-05-271-1/+10
|\
| * WIP: pass existing joins to construct_join_dependencyMatt Jones2014-05-161-1/+10
* | Allow empty arrays in where predicatesSean Griffin2014-05-261-0/+2
* | Merge pull request #15300 from arthurnn/refactor_reflectionsRafael Mendonça França2014-05-262-3/+3
|\ \
| * | Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-242-3/+3
* | | Refactor the handling of arrays in where predicatesSean Griffin2014-05-261-11/+14
|/ /
* | Remove duplicated parameter check on #where!Sergey Alekseev2014-05-231-8/+4
* | Removed not-used codePaul Nikitochkin2014-05-221-1/+0
|/
* Merge pull request #15078 from nbudin/fix_merger_filter_binds_comparison_masterRafael Mendonça França2014-05-141-1/+1
|\
| * Make filter_binds filter out symbols that are equal to stringsNat Budin2014-05-141-1/+1
* | docs, explain usage of `count` + `select`. Closes #15065. [ci skip]Yves Senn2014-05-131-0/+8
|/
* Put back Relation#join method as a delegate to ArrayBogdan Gusiev2014-05-051-1/+1
* push up bind params on "simple" subquery calculationsAaron Patterson2014-05-021-2/+4
* Give real privacy to class methods in AR::PredicateBuilderHector Satre2014-05-011-7/+8
* Merge branch 'master' into adequaterecordAaron Patterson2014-04-254-5/+25
|\
| * reset `@arel` when modifying a Relation in place.Yves Senn2014-04-241-0/+12
| * Fix a typo in the doc of forty_two AR FinderMethodEric Bouchut2014-04-241-1/+1
| * Merge pull request #14757 from estsauver/14752Rafael Mendonça França2014-04-223-4/+12
| |\
| | * select! renamed to avoid name collision Array#select!Earl J St Sauver2014-04-213-4/+12
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-04-201-1/+1
|\| |
| * | Make sure the column_name is different from 'all'.Lauro Caetano2014-04-141-1/+1
| |/
* | Merge branch 'master' into adequaterecordAaron Patterson2014-04-141-14/+22
|\|
| * don't bother with an offset if the offset is zeroAaron Patterson2014-04-121-6/+9
| * only add the offset and index when we need toAaron Patterson2014-04-121-8/+9
| * remove branching logic from calls to find_nthAaron Patterson2014-04-121-6/+10
* | Merge branch 'master' into adequaterecordAaron Patterson2014-04-073-6/+9
|\|
| * Build the reverse_order on its proper method.Lauro Caetano2014-04-072-4/+3
| * Ignore order when doing count.Lauro Caetano2014-04-071-1/+1
| * Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-03-291-1/+5
| |\
| | * Update documentation on group method to indicate it takes an arrayEarl St Sauver2014-03-171-0/+4
| | * Fix misspelling in references docsSteven Harman2014-03-141-1/+1
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-03-251-0/+2
|\| |
| * | `where.not` adds `references` for `includes`.Yves Senn2014-03-171-0/+2
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-03-131-2/+13
|\| |
| * | passing an instance of an AR object to `find` is deprecatedAaron Patterson2014-03-131-1/+5
| * | passing an ActiveRecord object to `exists?` is deprecated.Aaron Patterson2014-03-131-1/+8
| |/
* | `where` automatically uses bind values nowAaron Patterson2014-03-131-5/+2
* | Merge branch 'master' into adequaterecordAaron Patterson2014-03-132-18/+28
|\|
| * get rid of intermediate arrays.Yves Senn2014-03-051-2/+3
| * we only need to support `asc` and `ASC`. No need for mixed cases. #14263Yves Senn2014-03-051-13/+14
| * Merge pull request #14263 from robin850/allow_passing_string_to_order_hashYves Senn2014-03-051-3/+6
| |\