aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Merge pull request #6606 from amatsuda/ar_relation_model_methodRafael Mendonça França2012-08-211-0/+5
|\
| * AR::Relation#model would be a better API than AR::Relation#klassAkira Matsuda2012-06-031-0/+5
* | Allow Relation#merge to take a proc.Jon Leighton2012-08-031-0/+4
* | fix association :extend optionJon Leighton2012-07-131-2/+5
|/
* Relation#from to accept other Relation objectsRadoslav Stankov2012-05-171-1/+6
* fix interpolation for hash mergingJon Leighton2012-04-251-4/+13
* allow merging a single where valueJon Leighton2012-04-251-0/+6
* fix testsJon Leighton2012-04-131-6/+0
* now we can just manipulate the values hash in #only and #exceptJon Leighton2012-04-131-0/+13
* use a hash to store relation valuesJon Leighton2012-04-131-7/+7