aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | Introduce FixtureSet::TableRows and FixtureSet::TableRowGannon McGibbon2018-10-053-88/+183
* | | | | Introduce FixtureSet::ModelMetadataGannon McGibbon2018-10-052-29/+49
* | | | | Small refactors to FixtureSet::ClassCache and FixtureGannon McGibbon2018-10-051-9/+8
* | | | | Move FixtureSet.create_fixtures reading and inserting sections into private m...Gannon McGibbon2018-10-051-41/+58
* | | | | Organize FixtureSet class methodsGannon McGibbon2018-10-051-102/+104
| |/ / / |/| | |
* | | | Simplify the condition in `prepare_update_statement`Ryuta Kamizono2018-10-051-8/+2
* | | | Restore `preloaders_for_one` methodRyuta Kamizono2018-10-051-5/+9
* | | | Merge pull request #33938 from faucct/bugfix/preload_through_no_recordsEileen M. Uchitelle2018-10-041-28/+24
|\ \ \ \
| * | | | ActiveRecord::Associations::Preloader should not fail to preload through miss...Nikita Sokolov2018-10-021-28/+24
* | | | | Remove unreachable database warningEugene Kenny2018-10-041-15/+1
* | | | | Move test_fixtures and render_context to separate filesGannon McGibbon2018-10-033-214/+220
* | | | | Move UPDATE/DELETE with JOIN handling to the Arel sideRyuta Kamizono2018-10-035-106/+92
* | | | | Fix call sitesGannon McGibbon2018-10-022-6/+6
|/ / / /
* | | | Handle UPDATE/DELETE with OFFSET in ArelRyuta Kamizono2018-10-016-19/+35
* | | | Merge pull request #23593 from meinac/add_index_option_for_change_tableRyuta Kamizono2018-10-011-0/+2
|\ \ \ \
| * | | | Index option added for change_table migrationsMehmet Emin INAC2018-09-221-0/+2
* | | | | Merge pull request #32031 from yahonda/remove_redundant_freezeRyuta Kamizono2018-10-0119-42/+42
|\ \ \ \ \
| * | | | | Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-2919-42/+42
* | | | | | Place `PartialQuery` and `PartialQueryCollector` in the same fileRyuta Kamizono2018-09-302-24/+28
* | | | | | Handle DELETE with LIMIT in ArelRyuta Kamizono2018-09-308-69/+77
* | | | | | `SQLString#compile` is no longer used since 53521a9e39b9d8af4165d7703c36dc905...Ryuta Kamizono2018-09-301-4/+0
* | | | | | `visitor.accept` doesn't handle `&block`Ryuta Kamizono2018-09-301-2/+2
* | | | | | Use private attr_reader in ArelRyuta Kamizono2018-09-303-6/+3
* | | | | | Remove `visit_Fixnum` and `visit_Bignum`Ryuta Kamizono2018-09-302-3/+0
|/ / / / /
* | | | | Refactor migrations_path command option to databaseGannon McGibbon2018-09-286-6/+35
* | | | | Bugfix ActiveRecord::Relation#merge special case of from clauseBogdan Gusiev2018-09-281-3/+6
* | | | | Merge pull request #34006 from kamipo/remove_debug_codeRyuta Kamizono2018-09-281-10/+0
|\ \ \ \ \
| * | | | | Revert "record who created the node when $DEBUG is true"Ryuta Kamizono2018-09-281-10/+0
* | | | | | 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-273-5/+39
|\ \ \ \ \
| * | | | | Fix `transaction` reverting for migrationsfatkodima2018-09-263-5/+39
* | | | | | Add migrations_paths option to model generatorGannon McGibbon2018-09-271-0/+1
* | | | | | Avoid extra touch queries when counter cache is updatedRyuta Kamizono2018-09-271-2/+8
* | | | | | 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-271-1/+1
* | | | | | Removed invalid -X flag for pg_dumpMatthias Winkelmann2018-09-271-1/+1
|/ / / / /
* | | | | Merge pull request #33983 from gmcgibbon/raise_if_fixture_path_blankRafael França2018-09-261-0/+1
|\ \ \ \ \
| * | | | | Raise an error when loading all fixtures from nil fixture_pathGannon McGibbon2018-09-261-0/+1
* | | | | | Merge pull request #31819 from bpohoriletz/masterEileen M. Uchitelle2018-09-261-4/+3
|\ \ \ \ \ \
| * | | | | | If association is a hash-like object preloading failsBohdan Pohorilets2018-09-261-4/+3
| | |/ / / / | |/| | | |
* | | | | | Remove force parent loading when counter cache child is created/destroyedRyuta Kamizono2018-09-261-6/+2
| |/ / / / |/| | | |
* | | | | Revert "Remove `counter_cache_target` which is no longer called"Ryuta Kamizono2018-09-261-1/+10
* | | | | Update counter cache in memory if parent target is existedRyuta Kamizono2018-09-261-10/+3
|/ / / /
* | | | Merge pull request #33968 from gmcgibbon/stringify_db_configurationsRafael França2018-09-251-2/+2
|\ \ \ \
| * | | | Stringify database configurationsGannon McGibbon2018-09-241-2/+2