aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation
Commit message (Expand)AuthorAgeFilesLines
...
* Do not handle as an associated predicate if a table has the columnRyuta Kamizono2016-08-161-1/+1
* Add three new rubocop rulesRafael Mendonça França2016-08-163-4/+4
* Use `ActiveRecord::TestCase` rather than `ActiveSupport::TestCase` in AR test...Ryuta Kamizono2016-08-111-1/+1
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-062-10/+10
* modernizes hash syntax in activerecordXavier Noria2016-08-063-17/+17
* applies new string literal convention in activerecord/testXavier Noria2016-08-069-121/+121
* No need `public_send`Ryuta Kamizono2016-07-171-2/+2
* Add missing test case for record_fetched_greater_than configPrathamesh Sonpatki2016-04-111-11/+23
* Merge pull request #22365 from phuibonhoa/phuibonhoa/polymorphic_where_multip...Sean Griffin2016-02-171-1/+13
|\
| * Fixed `where` for polymorphic associations when passed an array containing di...Philippe Huibonhoa2016-02-161-1/+13
* | Show proper error message when a non-relation object is passed to AR::Relatio...Prathamesh Sonpatki2016-02-171-0/+6
|/
* Typos in AR testsAkira Matsuda2016-02-041-2/+2
* Defer Arel attribute lookup to the model classMatthew Draper2016-02-041-0/+4
* Properly include the `from` clause when merging relationsSean Griffin2016-01-141-0/+7
* Improve error message for #or when it is structurally incompatibleRafael Mendonça França2016-01-131-1/+3
* Revert "Change `WhereClause#merge` to same named columns on diff tables"Sean Griffin2016-01-121-15/+2
* Change `WhereClause#merge` to same named columns on diff tablesSean Griffin2016-01-121-2/+15
* Ensure `Relation` responds to `shuffle`Sean Griffin2015-12-011-1/+1
* Remove blanket array delegation from `Relation`Sean Griffin2015-11-231-6/+0
* Define `sanitize_sql_for_order` for AR and use it inside `preprocess_order_args`yui-knk2015-11-021-0/+4
* Alias left_joins to left_outer_joinsTakashi Kokubun2015-10-311-1/+1
* Suppress warnings of `assigned but unused variable`yui-knk2015-10-171-2/+0
* `where` raises ArgumentError on unsupported types.Jake Worth2015-10-161-0/+6
* Fix AC::Parameters not being sanitized for query methods.Guo Xiang Tan2015-10-021-0/+26
* Removed mocha from Active Record Part 2Ronak Jangir2015-09-161-3/+4
* Add test to 57daaefRafael Mendonça França2015-05-281-1/+1
* Remove unused variableArun Agrawal2015-05-261-1/+1
* deprecate `Relation#uniq` use `Relation#distinct` instead.Yves Senn2015-05-261-4/+13
* Add `config.active_record.warn_on_records_fetched_greater_than` optionJason Nochlin2015-03-251-0/+28
* Respect custom primary keys for associations in `Relation#where`Sean Griffin2015-02-041-1/+37
* Post.all.or(anything) == Post.allSean Griffin2015-01-292-5/+5
* Bring the implementation of Relation#or up to speedSean Griffin2015-01-282-3/+26
* Added #or to ActiveRecord::RelationMatthew Draper2015-01-281-0/+81
* Remove Relation#bind_paramsSean Griffin2015-01-271-2/+2
* Use an `Attribute` object to represent a bind valueSean Griffin2015-01-272-19/+8
* `WhereClause#predicates` does not need to be publicSean Griffin2015-01-272-102/+27
* Move where grouping into `WhereClause`Sean Griffin2015-01-271-0/+33
* Move the `from` bind logic to a `FromClause` classSean Griffin2015-01-261-3/+3
* Remove `Relation#bind_values=`Sean Griffin2015-01-261-1/+1
* Remove all references to `where_values` in testsSean Griffin2015-01-252-39/+39
* Move `where_unscoping` logic over to `WhereClause`Sean Griffin2015-01-251-0/+14
* Move `where.not` logic into `WhereClause`Sean Griffin2015-01-251-0/+26
* Remove all references to `where_values` in association codeSean Griffin2015-01-251-0/+5
* Move where merging logic over to `WhereClause`Sean Griffin2015-01-251-0/+42
* Introduce `Relation::WhereClause`Sean Griffin2015-01-251-0/+41
* Fix bind value copying from subqueried relationsSean Griffin2015-01-191-0/+8
* Whether a column exists or not doesn't affect whether we can use bindsSean Griffin2015-01-191-1/+1
* Should escape regexp wildcard character `.`Ryuta Kamizono2015-01-191-1/+1
* Properly copy nested bind values from subqueried relationsSean Griffin2015-01-091-9/+21