aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove unused explicit delegation to `klass` in `relation`Ryuta Kamizono2017-09-141-5/+0
* `Relation::Merger` should not fill `values` with empty valuesRyuta Kamizono2017-07-251-0/+8
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Don't cache `scope_for_create`Ryuta Kamizono2017-07-161-10/+2
* Fix `create_with` using both string and symbolRyuta Kamizono2017-07-161-4/+3
* Use `where(id: 10)` rather than `where(relation.table[:id].eq(10))`Ryuta Kamizono2017-07-161-5/+5
* Extract `FakeKlass` in `relation_test.rb` and `relation/mutation_test.rb`Ryuta Kamizono2017-07-111-19/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Remove unused variableyuuji.yaginuma2017-06-221-1/+1
* Keep INNER JOIN when merging relationsMaxime Lapointe2017-06-201-2/+21
* Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-1/+1
* Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-1/+1
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-1/+1
* class Foo < Struct.new(:x) creates an extra unneeded anonymous classAkira Matsuda2017-01-131-1/+1
* Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-1/+1
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-3/+3
* Fix broken heredoc indentation caused by rubocop auto-correctRyuta Kamizono2016-09-031-4/+4
* Merge pull request #26182 from bogdan/remove-relation-metaprogrammingRafael França2016-08-231-1/+2
|\
| * Remove over meta programming in AR::RelationBogdan Gusiev2016-08-231-1/+2
* | 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
|/