aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Extract `Arel.arel_node?` helper methodRyuta Kamizono2018-09-283-4/+7
* Remove `visit_Fixnum` and `visit_Bignum`Ryuta Kamizono2018-09-281-2/+0
* Make `update_counters` preparableRyuta Kamizono2018-09-283-10/+19
* Merge pull request #33986 from matt17r/patch-1Gannon McGibbon2018-09-271-1/+1
|\
| * Add missing rdoc +code+ tagsMatthew LS2018-09-261-1/+1
* | Make `update_all` preparableRyuta Kamizono2018-09-282-2/+18
* | Merge pull request #31604 from fatkodima/reverting-transactionEileen M. Uchitelle2018-09-277-5/+86
|\ \
| * | Fix `transaction` reverting for migrationsfatkodima2018-09-267-5/+86
* | | Add migrations_paths option to model generatorGannon McGibbon2018-09-271-0/+1
* | | Avoid extra touch queries when counter cache is updatedRyuta Kamizono2018-09-272-6/+16
* | | Refactor counter cache to extract `decrement_counters_before_last_save` on th...Ryuta Kamizono2018-09-272-48/+31
* | | Use -X when loading structure.sql via psqlJ Smith2018-09-272-4/+4
* | | Removed invalid -X flag for pg_dumpMatthias Winkelmann2018-09-272-8/+8
|/ /
* | Merge pull request #33983 from gmcgibbon/raise_if_fixture_path_blankRafael França2018-09-263-0/+21
|\ \
| * | Raise an error when loading all fixtures from nil fixture_pathGannon McGibbon2018-09-263-0/+21
* | | Merge pull request #31819 from bpohoriletz/masterEileen M. Uchitelle2018-09-262-4/+29
|\ \ \
| * | | If association is a hash-like object preloading failsBohdan Pohorilets2018-09-262-4/+29
| | |/ | |/|
* | | Remove force parent loading when counter cache child is created/destroyedRyuta Kamizono2018-09-262-7/+7
| |/ |/|
* | Revert "Remove `counter_cache_target` which is no longer called"Ryuta Kamizono2018-09-262-2/+11
* | Update counter cache in memory if parent target is existedRyuta Kamizono2018-09-262-10/+35
|/
* 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-253-2/+30
|\
| * Stringify database configurationsGannon McGibbon2018-09-243-2/+30
* | Remove `counter_cache_target` which is no longer calledRyuta Kamizono2018-09-261-10/+1
* | Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-2521-44/+44
* | Abandon TOP support.Vladimir Kochnev2018-09-2510-27/+4
|/
* Eagerly define attribute methods in productionEugene Kenny2018-09-241-0/+8
* `Persistence#increment!` requires an attribute argument which is incrementedRyuta Kamizono2018-09-242-1/+6
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-2326-48/+48
* No private def in the codebaseRafael Mendonça França2018-09-212-13/+16
* Merge pull request #33932 from schneems/schneems/recyclable-key-support-cacheRichard Schneeman2018-09-211-0/+25
|\
| * Switch to supports_cache_versioning? check to a class methodschneems2018-09-201-7/+9
| * [close #33907] Error when using "recyclable" cache keys with a store that doe...schneems2018-09-201-0/+23
* | Fix missing curly brace in documentationDavid Celis2018-09-201-0/+1
* | Merge pull request #33906 from dark-panda/ignore-psqlrc-when-using-psqlRafael França2018-09-202-8/+8
|\ \ | |/ |/|
| * Ignore psqlrc files when executing psql commandsJ Smith2018-09-172-8/+8
* | Use utf8mb4 in all tests and examplesRyuta Kamizono2018-09-214-11/+11
* | Merge pull request #33925 from rafaelfranca/rm-fix-column_defaultsSean Griffin2018-09-202-1/+15
|\ \
| * | Make a deep copy of the _default_attributes in column_defaultsRafael Mendonça França2018-09-202-1/+15
* | | Fix deprecation hash warning - activerecord testVitor Oliveira2018-09-201-1/+1
* | | Make `ActiveRecord::Result#to_a` as alias to `ActiveRecord::Result#to_ary`bogdanvlviv2018-09-201-5/+2
* | | Merge pull request #33913 from kamipo/counter_cacheRyuta Kamizono2018-09-205-29/+43
|\ \ \
| * | | Don't update counter cache unless the record is actually savedRyuta Kamizono2018-09-195-29/+43
* | | | Merge pull request #33912 from gmcgibbon/ar_result_to_hash_deprecateRafael França2018-09-194-5/+27
|\ \ \ \ | |_|/ / |/| | |
| * | | Deprecate ActiveRecord::Result#to_hash in favor of #to_aKevin Cheng2018-09-184-5/+27
| | |/ | |/|
* | | Don't return the same object when using find with an empty arrayRafael Mendonça França2018-09-192-2/+5
| |/ |/|
* | Avoid the same `foreign_key` and `counter_cache` associations on `SillyReply`Ryuta Kamizono2018-09-193-7/+7
|/
* Merge pull request #33902 from bogdanvlviv/related-to-31727Ryuta Kamizono2018-09-171-1/+1
|\
| * Fix deprecation warning of `ActiveRecord::Migrator.migrations_path=`bogdanvlviv2018-09-171-1/+1
* | Remove meaningless `ActiveRecord::MigrationContext.new(old_path)` in ensure b...Ryuta Kamizono2018-09-172-16/+0
|/