aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Adding type option example to the documentation [ci skip] (#35917)Roberto Miranda2019-04-101-0/+1
* Revert "Remove unused callbacks in the `Topic` model"Ryuta Kamizono2019-04-101-0/+4
* Remove unused callbacks in the `Topic` modelRyuta Kamizono2019-04-101-4/+0
* Merge pull request #28155 from lcreid/belongs_toRyuta Kamizono2019-04-107-2/+72
|\
| * Fix circular `autosave: true`Larry Reid2018-07-237-2/+75
* | Accidentally lost `comment` in `Column#==` and `Column#hash`Ryuta Kamizono2019-04-101-2/+4
* | Add assertions for lazy sync transaction stateRyuta Kamizono2019-04-101-36/+49
* | Remove unused `sequence_name` in `sql_for_insert`Ryuta Kamizono2019-04-102-3/+3
* | There is no need to create `QueryAttribute` to just type cast a valueRyuta Kamizono2019-04-102-4/+2
* | Merge pull request #35875 from Shopify/alloc-free-comparisonsRafael França2019-04-094-32/+38
|\ \
| * | Improve == and hash methods on various schema cache structs to be allocation ...Jean Boussier2019-04-094-32/+38
* | | Clarify exists check in logsDan Fitch2019-04-091-1/+1
* | | Merge pull request #35909 from simi/alias-postgresql-adapterRyuta Kamizono2019-04-101-0/+1
|\ \ \
| * | | Bring back postgresql_version as an alias.Josef Šimánek2019-04-091-0/+1
| |/ /
* | | Remove duplicated attribute alias resolution in `_select!`Ryuta Kamizono2019-04-092-6/+4
* | | `get_database_version` is not public API [ci skip]Ryuta Kamizono2019-04-091-1/+1
|/ /
* | Fix upsert method commentRyo Hashimoto2019-04-091-1/+1
* | Merge pull request #34800 from mqchau/mysqlCountDeleteRowInLockMatthew Draper2019-04-092-1/+31
|\ \
| * | Wrap Mysql count of deleted rows in lock block to avoid conflict in testQuan Chau2019-04-082-1/+31
* | | Merge pull request #35887 from kamipo/argument_errorRyuta Kamizono2019-04-0910-18/+40
|\ \ \
| * | | Raise `ArgumentError` for invalid `:limit` and `:precision` like as other opt...Ryuta Kamizono2019-04-0710-18/+40
* | | | Merge pull request #35890 from kamipo/except_table_name_from_columnRyuta Kamizono2019-04-097-49/+48
|\ \ \ \
| * | | | Except `table_name` from column objectsRyuta Kamizono2019-04-087-49/+48
* | | | | Merge pull request #35892 from ryohashimoto/bulk_insert_logsEileen M. Uchitelle2019-04-082-1/+53
|\ \ \ \ \
| * | | | | Improve log messages for #insert_all` / `#upsert_all` / `#insert` / `#upsert ...Ryo Hashimoto2019-04-082-1/+53
| | |/ / / | |/| | |
* | | | | When skipping duplicates in bulk insert on MySQL, avoid assigning id when not...Bob Lail2019-04-083-4/+42
| |/ / / |/| | |
* | | | 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