aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
...
* | Use utf8mb4 in all tests and examplesRyuta Kamizono2018-09-213-9/+9
* | Merge pull request #33925 from rafaelfranca/rm-fix-column_defaultsSean Griffin2018-09-201-0/+14
|\ \
| * | Make a deep copy of the _default_attributes in column_defaultsRafael Mendonça França2018-09-201-0/+14
* | | Fix deprecation hash warning - activerecord testVitor Oliveira2018-09-201-1/+1
* | | Merge pull request #33913 from kamipo/counter_cacheRyuta Kamizono2018-09-201-6/+36
|\ \ \
| * | | Don't update counter cache unless the record is actually savedRyuta Kamizono2018-09-191-6/+36
* | | | Merge pull request #33912 from gmcgibbon/ar_result_to_hash_deprecateRafael França2018-09-191-2/+12
|\ \ \ \ | |_|/ / |/| | |
| * | | Deprecate ActiveRecord::Result#to_hash in favor of #to_aKevin Cheng2018-09-181-2/+12
| | |/ | |/|
* | | Don't return the same object when using find with an empty arrayRafael Mendonça França2018-09-191-1/+4
| |/ |/|
* | Avoid the same `foreign_key` and `counter_cache` associations on `SillyReply`Ryuta Kamizono2018-09-193-7/+7
|/
* 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-132-0/+25
|\
| * Allow subclasses to redefine autosave callbacks for associated recordsAndrey Subbota2018-07-272-0/+25
* | Merge pull request #33844 from kamipo/too_many_eager_load_idsRyuta Kamizono2018-09-134-0/+19
|\ \
| * | Eager loading/preloading should be worked regardless of large number of recordsRyuta Kamizono2018-09-124-0/+19
* | | 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-114-7/+7
|/ /
* | 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-033-1/+26
|\ \
| * | Fix regression setting children record in parent before_save callback.Guo Xiang Tan2018-09-033-1/+26
* | | add mysql and sqlite3 default testkenjiszk2018-09-013-3/+23
|/ /
* | 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-293-5/+5
|\ \ \
| * | | Permit list usage cleanup and clearer documentationKevin Deisz2018-08-273-5/+5
| * | | Convert remaining usage of whitelist and blacklistKevin Deisz2018-08-241-3/+3
| * | | Convert over the rest of the whitelist referencesKevin Deisz2018-08-242-2/+2
* | | | 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