aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Avoid the same `foreign_key` and `counter_cache` associations on `SillyReply`Ryuta Kamizono2018-09-192-3/+3
* Remove meaningless `ActiveRecord::MigrationContext.new(old_path)` in ensure b...Ryuta Kamizono2018-09-172-16/+0
* Merge pull request #33895 from faucct/bugfix/preload_multiple_instances_of_sa...Ryuta Kamizono2018-09-161-0/+9
|\
| * ActiveRecord::Associations::Preloader should preload all instances of the sam...Nikita Sokolov2018-09-161-0/+9
* | Use table name qualified column name for update countersRyuta Kamizono2018-09-161-0/+8
* | Extract `{update,delete}_all_test.rb` from `persistence_test.rb` and `relatio...Ryuta Kamizono2018-09-164-335/+347
* | Merge pull request #33878 from kamipo/fallback_to_unprepared_statementRyuta Kamizono2018-09-151-0/+6
|\ \ | |/ |/|
| * Fallback to unprepared statement only when bind params limit is exceededRyuta Kamizono2018-09-141-0/+6
* | SQLite3: Support multiple args function for expression indexesRyuta Kamizono2018-09-141-8/+9
* | SQLite3 adapter supports expression indexesgkemmey2018-09-132-5/+49
|/
* Merge pull request #33378 from numbata/subclass-redefine-autosave-callbacksRafael Mendonça França2018-09-131-0/+19
|\
| * Allow subclasses to redefine autosave callbacks for associated recordsAndrey Subbota2018-07-271-0/+19
* | Merge pull request #33844 from kamipo/too_many_eager_load_idsRyuta Kamizono2018-09-131-0/+13
|\ \
| * | Eager loading/preloading should be worked regardless of large number of recordsRyuta Kamizono2018-09-121-0/+13
* | | DRY `activerecord/lib/active_record/core.rb` and fix testsbogdanvlviv2018-09-121-14/+18
* | | Use utf8mb4 character set by default for MySQL database (#33608)Yasuo Honda2018-09-112-3/+3
|/ /
* | Don't expose `current_scope` for internal useRyuta Kamizono2018-09-111-2/+2
* | Fixes #33610Darwin D Wu2018-09-113-0/+39
* | `supports_xxx?` returns whether a feature is supported by the backendRyuta Kamizono2018-09-084-41/+25
* | Configuration item `config.filter_parameters` could also filter out sensitive...Zhang Kang2018-09-071-0/+80
* | Deprecate most methods which were never used in `DatabaseLimits`Ryuta Kamizono2018-09-051-0/+28
* | Fix tests in `activerecord/test/cases/tasks/database_tasks_test.rb`bogdanvlviv2018-09-042-684/+120
* | Merge pull request #33673 from tgxworld/regression_setting_children_record_in...Ryuta Kamizono2018-09-031-1/+14
|\ \
| * | Fix regression setting children record in parent before_save callback.Guo Xiang Tan2018-09-031-1/+14
* | | add mysql and sqlite3 default testkenjiszk2018-09-011-3/+5
|/ /
* | Remove redundant `travel_back`yuuji.yaginuma2018-08-311-2/+0
* | Just delegate `update` with ids on a relation to `klass.update`Ryuta Kamizono2018-08-311-0/+18
* | Merge pull request #33637 from eileencodes/ar-connection-management-refactoringEileen M. Uchitelle2018-08-306-74/+731
|\ \
| * | Refactors Active Record connection managementEileen Uchitelle2018-08-306-74/+731
* | | Add missing requireyuuji.yaginuma2018-08-301-0/+1
* | | Merge pull request #33729 from kddeisz/plural-automatic-inverseRafael França2018-08-291-0/+11
|\ \ \ | |/ / |/| |
| * | Find inverse associations with plural namesKevin Deisz2018-08-271-0/+11
* | | Prevent leaking of user's DB credentials on `rails db:create` failurebogdanvlviv2018-08-292-2/+2
* | | Merge pull request #33718 from kddeisz/permit-listMatthew Draper2018-08-292-4/+4
|\ \ \
| * | | Permit list usage cleanup and clearer documentationKevin Deisz2018-08-272-4/+4
| * | | Convert remaining usage of whitelist and blacklistKevin Deisz2018-08-241-3/+3
| * | | Convert over the rest of the whitelist referencesKevin Deisz2018-08-241-1/+1
* | | | Mutation tracker should be cleared before continuing around callbacksYuya Tanaka2018-08-281-0/+20
| |/ / |/| |
* | | Remove unused requiresRyuta Kamizono2018-08-251-3/+1
* | | Merge pull request #33661 from jychen7/33428-test-has-many-association-enumRyuta Kamizono2018-08-251-0/+22
|\ \ \ | |/ / |/| |
| * | Add test case to test enum in has_manyRich2018-08-251-0/+22
* | | Merge pull request #31696 from BrentWheeldon/bmw-connection-pool-load-deadlockMatthew Draper2018-08-241-0/+38
|\ \ \ | |/ / |/| |
| * | Prevent deadlocks when waiting for connection from pool.Brent Wheeldon2018-03-231-0/+38
* | | Fix typo s/Topic/Tag/Ryuta Kamizono2018-08-231-1/+1
* | | Merge pull request #32647 from eugeneius/lazy_transactionsMatthew Draper2018-08-238-3/+82
|\ \ \
| * | | Omit BEGIN/COMMIT statements for empty transactionsEugene Kenny2018-08-138-3/+82
* | | | Merge pull request #33162 from utilum/stop_using_mochaKasper Timm Hansen2018-08-227-53/+88
|\ \ \ \
| * | | | Add method_call_assertions and use them instead of Mochautilum2018-08-134-36/+58
| * | | | Stub with Minitest and test with MethodCallAssertionsutilum2018-08-133-17/+30
| |/ / /
* | | | Add database configuration to disable advisory locks.Guo Xiang Tan2018-08-223-0/+41