aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix count which would sometimes force a DISTINCTMaxime Lapointe2016-08-161-2/+2
* Add three new rubocop rulesRafael Mendonça França2016-08-161-6/+6
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-11/+11
* modernizes hash syntax in activerecordXavier Noria2016-08-061-5/+5
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-29/+29
* activerecord: reuse immutable objectsTamir Duberstein2016-01-041-2/+6
* Remove FIXME comments about the `Arel::Nodes::Quoted` [ci skip]Ryuta Kamizono2016-01-031-3/+0
* Raise ArgumentError when passing a truthy value to mergeAndrew White2015-11-171-4/+7
* Make `AR::SpawnMethods#merge!` to check an arg is a Procyui-knk2015-11-121-0/+4
* Define `sanitize_sql_for_order` for AR and use it inside `preprocess_order_args`yui-knk2015-11-021-0/+4
* Green version of moving the handling of supported arguments to `where`yui-knk2015-10-181-7/+4
* Skip the test added in 9cc324a on buggy versions of SQliteSean Griffin2015-09-211-7/+22
* Skip test that fails from outdated sqlite3 on travisSean Griffin2015-06-021-7/+9
* Ensure symbols passed to `select` are always quotedSean Griffin2015-05-301-0/+22
* `type_cast_for_database` -> `serialize`Sean Griffin2015-02-171-1/+1
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-171-1/+1
* Raise ArgumentError when passing nil to Relation#mergeRafael Mendonça França2015-02-061-0/+16
* `WhereClause#predicates` does not need to be publicSean Griffin2015-01-271-2/+2
* Remove all references to `where_values` in testsSean Griffin2015-01-251-4/+4
* Introduce `Relation::WhereClause`Sean Griffin2015-01-251-8/+2
* Remove all cases of manuallly wrapping `Arel::Nodes::Quoted`Sean Griffin2014-12-291-6/+6
* Inform Arel that we don't need type casting in testsSean Griffin2014-12-261-6/+9
* Inject the `PredicateBuilder` into the `Relation` instanceSean Griffin2014-12-261-25/+25
* Consolidate testing of update_all type castingSean Griffin2014-06-261-0/+28
* Merge pull request #12829 from iantropov/issue_insert_via_hmt_scope_3548Rafael Mendonça França2014-04-101-0/+4
|\
| * Fix insertion of records for hmt association with scope, fix #3548Ivan Antropov2013-11-171-0/+4
* | Improve tests to use only public APIRafael Mendonça França2013-12-311-3/+2
* | Make outer joins on proper parentWashington Luiz2013-12-311-1/+11
|/
* Merge pull request #12129 from Empact/deprecate-array-bang-delegationRafael Mendonça França2013-09-121-144/+0
|\
| * Pull the RelationMutationTests from cases/relation_test to cases/relation/mut...Ben Woosley2013-09-031-135/+0
* | Relation#merge should not lose readonly(false) flag.thedarkone2013-09-111-0/+8
* | Merge pull request #11958 from jetthoughts/extract_pre_process_orders_argsYves Senn2013-09-041-0/+9
|\ \ | |/ |/|
| * Extracted from `order` processing of arguments, and use it for `reorder` to b...Paul Nikitochkin2013-09-041-0/+9
* | move the cache to the AR models and populate it on inheritedAaron Patterson2013-08-301-4/+19
|/
* stop relying on side effects of const_missingAaron Patterson2013-07-231-0/+6
* reorder bind parameters when merging relationsAaron Patterson2013-07-151-1/+8
* use arel rather than slapping together SQL stringsAaron Patterson2013-07-151-3/+6
* Blacklist->whitelist for reference scans in order!Ernie Miller2013-07-141-0/+7
* flatten merged join_values before building the joinsNeeraj Singh2013-06-221-1/+8
* Merge pull request #10495 from senny/postgres_test_cleanupRafael Mendonça França2013-05-281-1/+1
|\
| * cleanup, assert on warning from postgres adapterYves Senn2013-05-081-1/+1
* | include bind values from the default scopeAaron Patterson2013-05-171-4/+1
|/
* if singletons belong to the contract, test themXavier Noria2013-04-201-1/+4
* fix respond_to? for non selected columnNeeraj Singh2013-04-191-0/+5
* Address ORA-00979: not a GROUP BY expression errorYasuo Honda2013-04-111-1/+1
* While merging relations preserve context for joinsJared Armstrong and Neeraj Singh2013-04-101-1/+10
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-151-0/+12
* Expand order(:symbol) to "table".symbol to prevent broken queries on PG.Yves Senn2013-02-251-2/+15
* Use separate Relation subclasses for each AR classJon Leighton2012-11-301-21/+24
* ActiveRecord::Relation#none! method.Juanjo Bazán2012-10-281-0/+6