aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Add assertions for lazy sync transaction stateRyuta Kamizono2019-04-101-36/+49
* Remove duplicated attribute alias resolution in `_select!`Ryuta Kamizono2019-04-091-0/+1
* Merge pull request #34800 from mqchau/mysqlCountDeleteRowInLockMatthew Draper2019-04-091-0/+28
|\
| * Wrap Mysql count of deleted rows in lock block to avoid conflict in testQuan Chau2019-04-081-0/+28
* | Merge pull request #35887 from kamipo/argument_errorRyuta Kamizono2019-04-096-12/+12
|\ \
| * | Raise `ArgumentError` for invalid `:limit` and `:precision` like as other opt...Ryuta Kamizono2019-04-076-12/+12
* | | Merge pull request #35892 from ryohashimoto/bulk_insert_logsEileen M. Uchitelle2019-04-081-0/+49
|\ \ \
| * | | Improve log messages for #insert_all` / `#upsert_all` / `#insert` / `#upsert ...Ryo Hashimoto2019-04-081-0/+49
| |/ /
* | | When skipping duplicates in bulk insert on MySQL, avoid assigning id when not...Bob Lail2019-04-081-0/+38
* | | Fix GROUP BY with calculate longer name field to respect `table_alias_length`Ryuta Kamizono2019-04-082-0/+12
|/ /
* | There is no need to check `null_relation?` in `empty_scope?`Ryuta Kamizono2019-04-062-0/+7
* | Association loading isn't to be affected by null relation scopingRyuta Kamizono2019-04-061-0/+24
* | Merge pull request #35868 from kamipo/association_isnt_to_be_affected_by_scop...Ryuta Kamizono2019-04-062-7/+20
|\ \
| * | Association loading isn't to be affected by scoping consistentlyRyuta Kamizono2019-04-052-7/+20
| |/
* | Fix typo for touch later test description. laster -> laterAbhay Nikam2019-04-051-1/+1
* | Add missing `touch_all` delegation to relationRyuta Kamizono2019-04-052-1/+33
|/
* Remove duplicated `test_find_last`Ryuta Kamizono2019-04-051-5/+0
* Stash `left_joins` into `joins` to deduplicate redundant LEFT JOINRyuta Kamizono2019-04-053-2/+15
* Merge pull request #35698 from mtsmfm/output-test-reportMatthew Draper2019-04-041-0/+2
|\
| * Output junit format test reportFumiaki MATSUSHIMA2019-04-041-0/+2
* | Fix `count(:all)` with eager loading and explicit select and orderRyuta Kamizono2019-04-042-0/+12
|/
* Optimizer hints should be applied on Top level query as much as possibleRyuta Kamizono2019-04-042-0/+16
* Don't drop internal metadata tablesRyuta Kamizono2019-04-041-4/+2
* Ensure `reset_table_name` when table name prefix/suffix is changedRyuta Kamizono2019-04-044-17/+15
* Clear query cache when truncate table(s)Ryuta Kamizono2019-04-041-8/+36
* Fix fragile testsRyuta Kamizono2019-04-041-2/+4
* Respect table name prefix/suffix for `truncate_all`Ryuta Kamizono2019-04-042-1/+59
* Merge pull request #35795 from alimi/cache-database-versionEileen M. Uchitelle2019-04-038-11/+34
|\
| * Cache database version in schema cacheAli Ibrahim2019-04-038-11/+34
* | Use official database name [ci skip]Ryuta Kamizono2019-04-031-1/+1
* | Add `after_save_commit` callback as shortcut for `after_commit :hook, on: [ :...David Heinemeier Hansson2019-04-021-0/+12
|/
* Revert unused code and re-using query annotation for `update_all` and `delete...Ryuta Kamizono2019-04-017-112/+0
* Extract insert test case from #35686Kasper Timm Hansen2019-03-311-0/+14
* Merge pull request #19333 from palkan/dirty-storeKasper Timm Hansen2019-03-312-0/+84
|\
| * Add saved changes helpers for store accessorsVladimir Dementyev2019-03-251-0/+11
| * Add dirty methods for store accessorspalkan2019-03-252-0/+73
* | Fix callbacks on has_many :through associations (#33249)Ryan Kerr2019-03-301-0/+18
* | Add `ActiveRecord::Relation#extract_associated` for extracting associated rec...David Heinemeier Hansson2019-03-291-0/+7
* | Type cast falsy boolean symbols on boolean attribute as falseRyuta Kamizono2019-03-301-0/+9
* | Merge pull request #35496 from bogdan/right-preloadingRyuta Kamizono2019-03-281-0/+9
|\ \
| * | Fix preloader to never reset associations in case they are already loadedBogdan Gusiev2019-03-071-0/+9
* | | Don't change `collation_connection` in the current connectionRyuta Kamizono2019-03-271-1/+1
* | | Fix CI failure due to remaining tagging recordsRyuta Kamizono2019-03-261-1/+1
* | | Use `assert_queries(0)` instead of `assert_no_queries` to ignore metadata que...Yasuo Honda2019-03-261-1/+1
* | | Merge pull request #35683 from Kukunin/masterRyuta Kamizono2019-03-231-6/+31
|\ \ \
| * | | Fix unintended autosave on has_one through associationSergiy Kukunin2019-03-221-6/+31
* | | | Add Relation#annotate for SQL commentingMatt Yoho2019-03-2121-0/+513
* | | | Merge pull request #35685 from XrXr/attribute-forwardingGannon McGibbon2019-03-201-0/+11
|\ \ \ \ | |_|_|/ |/| | |
| * | | Document option forwarding in ActiveRecord::Base.attributeAlan Wu2019-03-201-0/+11
| |/ /
* / / Bulk Insert: Reuse indexes for unique_byKasper Timm Hansen2019-03-201-3/+33
|/ /