aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Except `table_name` from column objectsRyuta Kamizono2019-04-087-49/+48
* Fix GROUP BY with calculate longer name field to respect `table_alias_length`Ryuta Kamizono2019-04-086-11/+30
* Don't repeat same expression in SELECT and GROUP BY clausesRyuta Kamizono2019-04-061-26/+20
* There is no need to check `null_relation?` in `empty_scope?`Ryuta Kamizono2019-04-063-1/+8
* Association loading isn't to be affected by null relation scopingRyuta Kamizono2019-04-063-3/+31
* Merge pull request #35868 from kamipo/association_isnt_to_be_affected_by_scop...Ryuta Kamizono2019-04-064-8/+48
|\
| * Association loading isn't to be affected by scoping consistentlyRyuta Kamizono2019-04-054-8/+48
* | Fix typo for touch later test description. laster -> laterAbhay Nikam2019-04-051-1/+1
* | Merge pull request #35871 from kamipo/klass_level_touch_allRyuta Kamizono2019-04-053-2/+34
|\ \
| * | Add missing `touch_all` delegation to relationRyuta Kamizono2019-04-053-2/+34
| |/
* / [ci skip] Mark ActiveRecord::TouchLater as private docAbhay Nikam2019-04-051-1/+1
|/
* `preloaded_records` no longer includes `nil` since #35496Ryuta Kamizono2019-04-051-1/+0
* Remove duplicated `test_find_last`Ryuta Kamizono2019-04-051-5/+0
* Stash `left_joins` into `joins` to deduplicate redundant LEFT JOINRyuta Kamizono2019-04-056-32/+45
* Merge pull request #35698 from mtsmfm/output-test-reportMatthew Draper2019-04-041-0/+2
|\
| * Output junit format test reportFumiaki MATSUSHIMA2019-04-041-0/+2
* | Fix `count(:all)` with eager loading and explicit select and orderRyuta Kamizono2019-04-043-4/+17
|/
* Refactor `Relation#cache_key` is moved from `CollectionCacheKey#collection_ca...Ryuta Kamizono2019-04-045-54/+49
* Optimizer hints should be applied on Top level query as much as possibleRyuta Kamizono2019-04-045-5/+30
* Don't drop internal metadata tablesRyuta Kamizono2019-04-041-4/+2
* Ensure `reset_table_name` when table name prefix/suffix is changedRyuta Kamizono2019-04-044-17/+15
* Clear query cache when truncate table(s)Ryuta Kamizono2019-04-042-9/+38
* Fix fragile testsRyuta Kamizono2019-04-041-2/+4
* Respect table name prefix/suffix for `truncate_all`Ryuta Kamizono2019-04-045-5/+67
* Use `execute_batch2` rather than `execute_batch` to fix performance regressio...Ryuta Kamizono2019-04-042-2/+2
* Merge pull request #35795 from alimi/cache-database-versionEileen M. Uchitelle2019-04-0318-67/+106
|\
| * Cache database version in schema cacheAli Ibrahim2019-04-0318-67/+106
* | [ci skip] Touch up `db:prepare` changelog entryKasper Timm Hansen2019-04-031-1/+3
* | Add rake db:prepare entry to the CHANGELOG.mdRoberto Miranda2019-04-031-0/+4
* | `bytes_margin` is only needed when `previous_packet` existsRyuta Kamizono2019-04-031-5/+2
* | Don't assign to `@changed_attributes` in `becomes`Ryuta Kamizono2019-04-031-1/+0
* | Use official database name [ci skip]Ryuta Kamizono2019-04-035-9/+9
* | Fix the markup for `insert_all` and `upsert_all` docs [ci skip]Ryuta Kamizono2019-04-031-7/+7
* | Remove duplicated CHANGELOG entry [ci skip]Ryuta Kamizono2019-04-031-2/+0
* | Add `after_save_commit` callback as shortcut for `after_commit :hook, on: [ :...David Heinemeier Hansson2019-04-023-0/+24
* | Merge pull request #35805 from excid3/attachments-field-generatorsRafael França2019-04-021-0/+6
|\ \
| * | Add attachment and attachments field generatorsChris Oliver2019-03-301-0/+6
* | | Merge pull request #35768 from robertomiranda/r/rake-db-prepareEileen M. Uchitelle2019-04-021-0/+10
|\ \ \ | |_|/ |/| |
| * | 💇Roberto Miranda2019-04-021-6/+4
| * | Add test cases for rake db:prepareRoberto Miranda2019-04-021-6/+9
| * | Move db:migrate call to else blockRoberto Miranda2019-03-271-1/+2
| * | Improve db:prepare descriptionRoberto Miranda2019-03-271-1/+1
| * | Add rake db:prepare rake task.Roberto Miranda2019-03-271-0/+8
* | | url -> URL where apt except inside actionpack/Sharang Dashputre2019-04-012-3/+3
* | | Revert unused code and re-using query annotation for `update_all` and `delete...Ryuta Kamizono2019-04-0115-147/+11
* | | Merge pull request #35727 from zinosama/zzz/update-doc-for-includesRyuta Kamizono2019-04-011-1/+7
|\ \ \
| * | | [ci skip] Update doc for unnecessary #referenceszino2019-03-231-1/+7
* | | | Extract insert test case from #35686Kasper Timm Hansen2019-03-311-0/+14
* | | | Use accessors internally; remove needless validationKasper Timm Hansen2019-03-311-6/+2
* | | | Mark InsertAll as private API. Easier to add later.Kasper Timm Hansen2019-03-311-1/+1