aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-1/+1
* don't check for immutability when setting skip_preloading as it doesn't effec...Lachlan Sylvester2018-04-121-0/+8
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-4/+4
* Use respond_to test helpersDaniel Colson2018-01-251-2/+2
* Avoid passing unnecessary arguments to relationDaniel Colson2018-01-241-25/+25
* Partial revert the changing default value of `readonly_value`Ryuta Kamizono2018-01-051-2/+1
* Fix `scope_for_create` to do not lose polymorphic associationsRyuta Kamizono2017-12-081-1/+1
* Properly cast input in `update_all`Sean Griffin2017-11-131-1/+6
* Relation merging should keep joining orderRyuta Kamizono2017-11-111-0/+9
* 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