aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation
Commit message (Expand)AuthorAgeFilesLines
* 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
* Remove all cases of manuallly wrapping `Arel::Nodes::Quoted`Sean Griffin2014-12-291-2/+2
* Fix failing testsSean Griffin2014-12-291-8/+4
* Inform Arel we don't need additional type casting in testsSean Griffin2014-12-262-3/+3
* Eagerly cast array values passed to the predicate builderSean Griffin2014-12-261-2/+6
* Perform casting of single values within the predicate builderSean Griffin2014-12-261-1/+1
* Fix new warning in ruby 2.2Sean Griffin2014-12-261-2/+2
* Change `PredicateBuilder` handler methods to instance methodsSean Griffin2014-12-261-1/+3
* Inject the `PredicateBuilder` into the `Relation` instanceSean Griffin2014-12-261-1/+1
* Remove deprecated behavior allowing nested arrays as query valuesMelanie Gilman2014-12-041-6/+0
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* Fix test which failed in isolationSean Griffin2014-11-011-0/+1
* Allow Relation#rewhere to work with infinite range valuesDan Olson2014-10-271-0/+21