aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* Merge pull request #27947 from mastahyeti/unsafe_raw_sqlMatthew Draper2017-11-141-19/+19
|\
| * deal with Array arguments to #orderBen Toews2017-11-091-3/+3
| * convert order arg to string before checking if we can reverse itBen Toews2017-11-091-2/+2
| * use << instead of #concat in #reverse_sql_order because we might be working w...Ben Toews2017-11-091-1/+1
| * try using regexesBen Toews2017-11-091-26/+23
| * allow table name and direction in string order argBen Toews2017-11-091-33/+33
| * work around deprecation warnings in a bunch of testsBen Toews2017-11-091-61/+64
* | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2017-11-101-1/+1
* | Ensure `apply_join_dependency` for subqueries in `from` and `where`Ryuta Kamizono2017-11-101-0/+12
* | Set counter caches to correct values in fixturesBogdan Gusiev2017-11-081-9/+9
|/
* All test cases for `exists?` places in `finder_test.rb` to ease to find the t...Ryuta Kamizono2017-10-091-26/+0
* Ensure `AliasTracker` respects a custom table nameRyuta Kamizono2017-09-301-4/+8
* Add test case for `arel_attribute` with a custom tableRyuta Kamizono2017-09-271-0/+4
* Treat `Set` as an `Array` in `Relation#where`Sean Griffin2017-09-261-0/+13
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-46/+1
* Merge pull request #29867 from koic/fix_a_failed_ar_test_when_using_oracleKasper Timm Hansen2017-07-231-2/+10
|\
| * Fix a failued AR test when using OracleAdapterKoichi ITO2017-07-201-2/+10
* | Merge pull request #29732 from kirs/frozen-activerecordRafael França2017-07-211-0/+2
|\ \
| * | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
| |/
* / Revert "Extract `bind_param` and `bind_attribute` into `ActiveRecord::TestCase`"Sean Griffin2017-07-211-7/+3
|/
* Fix `JoinDependency` with using a custom tableRyuta Kamizono2017-07-181-5/+14
* Merge pull request #29801 from kamipo/extract_null_relation_testSean Griffin2017-07-171-118/+0
|\
| * Extract `NullRelationTest` from `RelationTest`Ryuta Kamizono2017-07-151-118/+0
* | Merge pull request #29799 from kamipo/remove_outdated_test_scoped_responds_to...Sean Griffin2017-07-171-8/+0
|\ \
| * | Remove outdated `test_scoped_responds_to_delegated_methods`Ryuta Kamizono2017-07-151-8/+0
| |/
* | Fix `where` with a custom tableRyuta Kamizono2017-07-181-4/+4
* | Fix `create_with` using both string and symbolRyuta Kamizono2017-07-161-1/+1
|/
* Skip query cache for in_batches and friendsEugene Kenny2017-07-061-0/+42
* 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
* Merge pull request #29405 from kamipo/locked_should_not_build_arelRafael França2017-06-281-0/+6
|\
| * Remove delegating to arel in a relationRyuta Kamizono2017-06-291-1/+1
| * `Relation#locked?` should not build arelRyuta Kamizono2017-06-201-0/+6
* | Fix extracting `references` via `order_values` to respect quotingRyuta Kamizono2017-06-261-0/+6
|/
* Remove a redundant default_scope testsKoichi ITO2017-06-031-10/+0
* Should test against `Relation#bound_attributes`Ryuta Kamizono2017-05-041-8/+12
* Remove duplicated `test_merging_reorders_bind_params`Ryuta Kamizono2017-05-041-9/+0
* 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
* `respond_to_missing?` should be privateRyuta Kamizono2017-04-221-5/+1
* Fix an AR test of relations_test when using OracleKoichi ITO2017-04-111-1/+1
* Load only needed records on ActiveRecord::Relation#inspectHendy Tanata2017-03-281-0/+6
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-1/+1
* Fix where_clause#except with specific where valueJohn Hawthorn2017-03-201-0/+8
* Use `load` rather than `collect` for force loadingRyuta Kamizono2017-03-191-7/+7
* Allow order to be given expressions as hash keysEugene Kenny2017-02-271-1/+24
* Merge pull request #27122 from kamipo/fix_unscope_with_subqueryRafael França2017-02-131-0/+12
|\
| * Fix unscope with subqueryRyuta Kamizono2016-12-051-0/+12
* | Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-1/+1
* | Merge pull request #27563 from kamipo/fix_typoRafael França2017-01-031-1/+1
|\ \