aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* No need to call to_sym hereGodfrey Chan2014-09-202-9/+9
* Merge pull request #15791 from zev/add_model_to_recordnotfound_messageAaron Patterson2014-09-191-8/+8
|\
| * Update RecordNotFound exception cases to include a message with theZev Blut2014-06-181-8/+8
* | A `NullRelation` should represent nothing. Closes #15176.Yves Senn2014-09-111-2/+2
* | Fix query with nested array in Active RecordCristian Bica2014-09-061-4/+12
* | Fixed regression with referencing polymorphic assoc in eager-loadGodfrey Chan2014-09-051-1/+2
* | always reorder bind parameters. fixes #15920Aaron Patterson2014-09-041-6/+4
* | Avoid using heredoc for user warningsGodfrey Chan2014-08-281-4/+2
* | Fixes the `Relation#exists?` to work with polymorphic associations.Kassio Borges2014-08-181-1/+1
* | Check attributes passed to create_with and whereRafael Mendonça França2014-08-181-2/+14
* | Fixed AR::Relation#where edge case with Hash and other RelationBogdan Gusiev2014-08-141-3/+15
* | remove blank lines in the start of the ActiveRecord filesPonomarev Nikolay2014-07-291-1/+0
* | 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
| |\