aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Ensure to test that `project.developers` is ordered by `developers.name desc`Ryuta Kamizono2018-10-151-1/+1
* Improve model attribute accessor method names for backtracesDylan Thacker-Smith2018-10-123-53/+21
* Basic API for connection switchingEileen Uchitelle2018-10-104-1/+328
* Merge pull request #34110 from albertoalmagro/enum-raises-on-invalid-definiti...Eileen M. Uchitelle2018-10-103-0/+33
|\
| * Privatize ENUM_CONFLICT_MESSAGE constantAlberto Almagro2018-10-101-0/+1
| * Raise on invalid definition valuesAlberto Almagro2018-10-103-0/+32
* | Merge pull request #34137 from gmcgibbon/db_migrate_status_multi_dbEileen M. Uchitelle2018-10-101-1/+15
|\ \ | |/ |/|
| * Add multi-db support to rails db:migrate:statusGannon McGibbon2018-10-091-1/+15
* | Merge pull request #34122 from kamipo/generate_relation_methodsRyuta Kamizono2018-10-106-5/+59
|\ \
| * | Generate delegation methods to named scope in the definition timeRyuta Kamizono2018-10-096-5/+59
* | | Merge pull request #34094 from christophemaximin/fix-activerecord-clearing-of...Ryuta Kamizono2018-10-107-3/+111
|\ \ \
| * | | Clear QueryCache when reloading associationsChristophe Maximin2018-10-107-3/+111
* | | | Call `load_schema` before `assert_no_queries`Ryuta Kamizono2018-10-101-0/+1
* | | | Fix odd indentationRyuta Kamizono2018-10-101-10/+10
* | | | Refactor Arel visitor to use `collect_nodes_for` as much as possibleRyuta Kamizono2018-10-101-33/+10
| |_|/ |/| |
* | | Improve DELETE with JOIN handling to avoid subqueries if possibleRyuta Kamizono2018-10-102-9/+8
* | | Merge pull request #34081 from gmcgibbon/db_migrate_status_moveEileen M. Uchitelle2018-10-093-13/+39
|\ \ \
| * | | Move db:migrate:status to DatabaseTasks methodGannon McGibbon2018-10-083-13/+39
* | | | Merge pull request #34117 from aergonaut/docs/ActiveRecord--Persistence-belon...Ryuta Kamizono2018-10-101-0/+2
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add docs to ActiveRecord::Persistence#belongs_to_touch_methodChris Fung2018-10-071-0/+2
* | | | Call `define_attribute_methods` before `assert_no_queries` to address CI flak...Ryuta Kamizono2018-10-095-9/+80
| |/ / |/| |
* | | [ci skip] Fix typoFrancesco Rodríguez2018-10-081-1/+1
* | | Don't expose internal methods in the associationsRyuta Kamizono2018-10-082-32/+32
* | | Fix test name to add missing "set"Ryuta Kamizono2018-10-081-1/+1
* | | Fix `AssociationRelation` not to set inverse instance key just like beforeRyuta Kamizono2018-10-073-3/+23
* | | Merge pull request #34076 from gmcgibbon/fixtures_refactorEileen M. Uchitelle2018-10-074-243/+376
|\ \ \
| * | | Move FixtureSet::ReflectionProxy and FixtureSet::HasManyThroughProxy to Fixtu...Gannon McGibbon2018-10-052-32/+32
| * | | 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
* | | | add test for cache_version precisionLachlan Sylvester2018-10-071-31/+55
|/ / /
* | / Exercise stringify of database configurationsbogdanvlviv2018-10-051-0/+5
| |/ |/|
* | Remove `ignore_none: false` to assert no queries more strictlyRyuta Kamizono2018-10-057-31/+31
* | Use `assert_no_queries` not to ignore BEGIN/COMMIT queriesRyuta Kamizono2018-10-0513-38/+37
* | Simplify the condition in `prepare_update_statement`Ryuta Kamizono2018-10-051-8/+2
* | Restore `preloaders_for_one` methodRyuta Kamizono2018-10-051-5/+9
* | failing test for eager loadingMatt Jones2018-10-041-0/+5
* | Merge pull request #33938 from faucct/bugfix/preload_through_no_recordsEileen M. Uchitelle2018-10-042-28/+29
|\ \
| * | ActiveRecord::Associations::Preloader should not fail to preload through miss...Nikita Sokolov2018-10-022-28/+29
* | | Escape table name so that it can be used in regular expressionAidan Haran2018-10-041-1/+1
* | | 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-013-0/+22
|\ \
| * | Index option added for change_table migrationsMehmet Emin INAC2018-09-223-0/+22
* | | Merge pull request #32031 from yahonda/remove_redundant_freezeRyuta Kamizono2018-10-0119-42/+42
|\ \ \