aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Should take the record's state of first action in the transactionRyuta Kamizono2019-04-301-8/+9
* Fix rubocop offencesRyuta Kamizono2019-04-301-2/+2
* Extract `_raise_record_not_touched_error`Ryuta Kamizono2019-04-292-16/+13
* Fix merging left_joins to maintain its own `join_type` contextRyuta Kamizono2019-04-274-17/+24
* Merge pull request #32313 from lulalala/model_error_as_objectRafael França2019-04-241-16/+9
|\
| * Allow errors to remove duplicates, and ensure cyclic associations w/ autosave...lulalala2019-03-311-3/+1
| * Use errors#import instead of manipulating errors/details hashlulalala2019-03-311-13/+8
* | Start Rails 6.1 developmentRafael Mendonça França2019-04-242-3/+6
* | Merge pull request #35869 from abhaynikam/35866-add-touch-option-for-has-one-...Ryuta Kamizono2019-04-251-2/+34
|\ \
| * | Adds touch option to has_one associationAbhay Nikam2019-04-251-2/+34
* | | Avoid redundant `attribute_alias?` before `attribute_alias`Ryuta Kamizono2019-04-247-19/+17
* | | Fix sliced IN clauses to be groupedRyuta Kamizono2019-04-244-121/+50
* | | Re-organize `init_internals`Ryuta Kamizono2019-04-241-5/+4
* | | Simplify restore state conditionRyuta Kamizono2019-04-241-4/+2
* | | Lazy allocate `@_start_transaction_state`Ryuta Kamizono2019-04-242-8/+10
|/ /
* | Merge pull request #36070 from imechemi/fix-minor-api-docRyuta Kamizono2019-04-241-1/+1
|\ \
| * | Fix rdoc rendering for push alias symbolTenzin Chemi2019-04-231-1/+1
* | | Rename local variable `n` to `name`Ryuta Kamizono2019-04-242-3/+3
|/ /
* | Make association builder methods privateRyuta Kamizono2019-04-246-0/+15
* | Merge pull request #36029 from kamipo/deprecate_where_notRyuta Kamizono2019-04-232-9/+26
|\ \
| * | Deprecate `where.not` working as NOR and will be changed to NAND in Rails 6.1Ryuta Kamizono2019-04-192-9/+26
* | | Avoid new string instance creation in `InsertAll#execute`Ryuta Kamizono2019-04-221-3/+3
* | | Don't table name qualify aggrigate column for virtual attributeRyuta Kamizono2019-04-221-4/+2
* | | Merge pull request #36052 from kamipo/fast_idRyuta Kamizono2019-04-228-26/+22
|\ \ \
| * | | PERF: 20% faster pk attribute accessRyuta Kamizono2019-04-228-26/+22
* | | | Remove useless `set_value` / `get_value` helper methodsRyuta Kamizono2019-04-222-17/+10
|/ / /
* | | Remove never used `database_selector` class accessorRyuta Kamizono2019-04-221-1/+0
* | | Avoid method call if `@transaction_state` is not finalizedRyuta Kamizono2019-04-217-14/+14
* | | Merge pull request #36041 from abhaynikam/change-deprecation-for-dynamic-rout...Ryuta Kamizono2019-04-201-1/+1
|\ \ \
| * | | Change deprecation message for dangerous query method to be disallowed in Rai...Abhay Nikam2019-04-201-1/+1
* | | | Remove description for namespaced `db:migrate:up`eileencodes2019-04-191-1/+0
|/ / /
* | | Handle up/down for multiple databaseseileencodes2019-04-192-0/+57
* | | Revert "Deprecate `collection_cache_key` which is private API"Ryuta Kamizono2019-04-192-3/+1
* | | Merge pull request #35998 from itsWill/add_documentation_for_add_indexEileen M. Uchitelle2019-04-191-0/+20
|\ \ \
| * | | Document algorithm: concurrent options for PostgreSQL [ci skip]Guilherme Mansur2019-04-161-0/+20
* | | | Deprecate `collection_cache_key` which is private APIRyuta Kamizono2019-04-192-2/+6
* | | | Merge pull request #34788 from gsamokovarov/actionable-errorsKasper Timm Hansen2019-04-191-0/+7
|\ \ \ \
| * | | | Make ActiveRecord::PendingMigrationError actionableGenadi Samokovarov2019-04-191-0/+6
| * | | | Introduce Actionable ErrorsGenadi Samokovarov2019-04-191-0/+1
| | |/ / | |/| |
* | | | Give GeneratedRelationMethods module a nameRyuta Kamizono2019-04-191-1/+4
* | | | Revert renamed `GeneratedAttributeMethods`Ryuta Kamizono2019-04-191-3/+3
|/ / /
* | | Ensure active record can load without Railtieseileencodes2019-04-182-7/+9
* | | Merge pull request #35987 from kamipo/fix_dirty_tracking_after_rollbackRyuta Kamizono2019-04-177-25/+27
|\ \ \
| * | | Fix dirty tracking after rollback.Ryuta Kamizono2019-04-167-25/+27
* | | | Add collection cache versioningLachlan Sylvester2019-04-162-15/+44
* | | | Merge pull request #35946 from alimi/cache-full-mysql-database-versionKasper Timm Hansen2019-04-163-5/+14
|\ \ \ \
| * | | | Make changes per PR feedbackAli Ibrahim2019-04-122-9/+3
| * | | | Cache full MySQL version in schema cacheAli Ibrahim2019-04-113-6/+21
* | | | | Merge pull request #35985 from jhawthorn/lazy_backtrace_cleanKasper Timm Hansen2019-04-161-1/+1
|\ \ \ \ \
| * | | | | Find query_source_location using lazy EnumeratorJohn Hawthorn2019-04-151-1/+1