aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* `SQLString#compile` is no longer used since 53521a9e39b9d8af4165d7703c36dc905...Ryuta Kamizono2018-09-301-11/+5
* Remove `visit_Fixnum` and `visit_Bignum`Ryuta Kamizono2018-09-301-1/+1
* Make `test_initialize_with_invalid_attribute` work correctlyyuuji.yaginuma2018-09-301-4/+6
* Bugfix ActiveRecord::Relation#merge special case of from clauseBogdan Gusiev2018-09-281-0/+4
* Merge pull request #31604 from fatkodima/reverting-transactionEileen M. Uchitelle2018-09-273-0/+40
|\
| * Fix `transaction` reverting for migrationsfatkodima2018-09-263-0/+40
* | Avoid extra touch queries when counter cache is updatedRyuta Kamizono2018-09-271-4/+8
* | Use -X when loading structure.sql via psqlJ Smith2018-09-271-3/+3
* | Removed invalid -X flag for pg_dumpMatthias Winkelmann2018-09-271-7/+7
|/
* Merge pull request #33983 from gmcgibbon/raise_if_fixture_path_blankRafael França2018-09-261-0/+16
|\
| * Raise an error when loading all fixtures from nil fixture_pathGannon McGibbon2018-09-261-0/+16
* | Merge pull request #31819 from bpohoriletz/masterEileen M. Uchitelle2018-09-261-0/+26
|\ \
| * | If association is a hash-like object preloading failsBohdan Pohorilets2018-09-261-0/+26
* | | Remove force parent loading when counter cache child is created/destroyedRyuta Kamizono2018-09-261-1/+5
| |/ |/|
* | Revert "Remove `counter_cache_target` which is no longer called"Ryuta Kamizono2018-09-261-1/+1
* | Update counter cache in memory if parent target is existedRyuta Kamizono2018-09-261-0/+32
|/
* Fix "warning: shadowing outer local variable - config"yuuji.yaginuma2018-09-261-2/+2
* Merge pull request #33968 from gmcgibbon/stringify_db_configurationsRafael França2018-09-251-0/+24
|\
| * Stringify database configurationsGannon McGibbon2018-09-241-0/+24
* | Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-2520-43/+43
* | Abandon TOP support.Vladimir Kochnev2018-09-253-4/+2
|/
* `Persistence#increment!` requires an attribute argument which is incrementedRyuta Kamizono2018-09-241-0/+5
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-238-19/+19
* No private def in the codebaseRafael Mendonça França2018-09-211-10/+11
* Merge pull request #33906 from dark-panda/ignore-psqlrc-when-using-psqlRafael França2018-09-201-7/+7
|\
| * Ignore psqlrc files when executing psql commandsJ Smith2018-09-171-7/+7
* | 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