aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Fix table comment also being applied to the primary key columnGuilherme Goettems Schneider2019-05-311-1/+1
* Remove wrong default value for `cache_versioning` in documentation of `cache_...Sebastian Röder2019-05-291-1/+1
* `:datetime` and `:time` columns allows `:precision` option [ci skip]Ryuta Kamizono2019-05-281-2/+3
* Merge pull request #36350 from kamipo/fast_pluckRyuta Kamizono2019-05-281-3/+5
|\
| * Allow symbol (i.e. quoted identifier) as safe SQL stringRyuta Kamizono2019-05-281-3/+5
* | Use WeakRef to avoid leaking connection poolsJohn Hawthorn2019-05-271-11/+21
|/
* Extract `readonly_attribute?`Ryuta Kamizono2019-05-273-6/+6
* Merge pull request #36320 from XrXr/no-doc-prependRafael França2019-05-211-1/+1
|\
| * Put :nodoc: on method that raises NoMethodErrorAlan Wu2019-05-211-1/+1
* | Put all `explain` methods into `DatabaseStatements` moduleRyuta Kamizono2019-05-224-18/+14
* | Fall back to type casting from the connection adapterRyuta Kamizono2019-05-212-20/+22
* | Implicit through table joins should be appeared before user supplied joinsRyuta Kamizono2019-05-191-17/+11
* | Merge pull request #36296 from jhawthorn/dont_fear_the_reaperAaron Patterson2019-05-181-7/+25
|\ \
| * | Use a single thread for all ConnectionPool ReapersJohn Hawthorn2019-05-171-7/+25
* | | Merge pull request #36284 from kamipo/fix_eager_loading_with_string_joinsRyuta Kamizono2019-05-151-2/+11
|\ \ \
| * | | Fix eager loading associations with string joins not to raise NoMethodErrorRyuta Kamizono2019-05-151-2/+11
* | | | Don't track implicit `touch` mutationRyuta Kamizono2019-05-132-1/+7
* | | | Merge pull request #36255 from eugeneius/sqlite_savepoint_supportKasper Timm Hansen2019-05-124-7/+5
|\ \ \ \
| * | | | Remove SQLite version support caveats [ci skip]Eugene Kenny2019-05-124-7/+5
* | | | | Merge pull request #36073 from itsWill/document_update_counters_on_relationRyuta Kamizono2019-05-121-1/+13
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | document update_counters on relation [ci skip]Guilherme Mansur2019-05-111-1/+13
* | | | | Merge branch 'migration-timestamp-fix'Gannon McGibbon2019-05-101-0/+1
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Add class option timestamps to migration generatorMichael Duchemin2019-02-091-0/+1
* | | | | Remove ignored_sql from SQLCounter by adding "TRANSACTION" to log nameYasuo Honda2019-05-084-12/+12
| |_|/ / |/| | |
* | | | Properly give defaults for DatabaseSelector optionsAkira Matsuda2019-05-071-3/+3
* | | | Should attempt `committed!`/`rolledback!` to all enrolled records in the tran...Ryuta Kamizono2019-05-073-13/+20
* | | | Namespace association extension modules under the owner modelJean Boussier2019-05-021-2/+2
* | | | Make scope arity check consistent (#36134)Rob Trame2019-05-011-1/+1
* | | | 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