aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Fix GROUP BY queries to apply LIMIT/OFFSET after aggregationsRyuta Kamizono2018-06-071-1/+1
* Fix `collection.create` to could be rolled back by `after_save`Ryuta Kamizono2018-06-071-3/+9
* Merge pull request #33067 from kamipo/fix_force_equalityRafael França2018-06-062-1/+4
|\
| * Fix force equality checking not to break the serialized attribute with ArrayRyuta Kamizono2018-06-062-1/+4
* | Child joins should be aliased when merging relationsChalo Fernandez2018-06-061-1/+1
|/
* Merge pull request #33051 from SamSaffron/masterMatthew Draper2018-06-062-2/+2
|\
| * PERF: avoid allocating column names where possibleSam2018-06-062-2/+2
* | Merge pull request #33029 from fedxgibson/raise_with_duplicate_columnsEileen M. Uchitelle2018-06-041-2/+6
|\ \
| * | Migrations will raise an exception if there are multiple column definitions (...Federico Martinez2018-06-011-2/+6
| |/
* | Initialization block is a part of `build_record`Ryuta Kamizono2018-06-046-14/+10
* | Fix `save` in `after_create_commit` won't invoke extra `after_create_commit`Ryuta Kamizono2018-06-041-10/+16
* | `record.destroy` on new record won't invoke after create commit callbacksRyuta Kamizono2018-06-031-1/+1
|/
* Ensure reflection_class_for is privateKevin Deisz2018-05-311-24/+27
* Move ActiveStorage reflection logic entirely into ActiveStorageKevin Deisz2018-05-311-44/+2
* Reflection for attachmentsKevin Deisz2018-05-301-17/+60
* Merge pull request #32952 from mechanicles/32940-fixRyuta Kamizono2018-05-291-3/+5
|\
| * Fix parent record should not get saved with duplicate children recordsSantosh Wadghule2018-05-281-3/+5
* | Merge pull request #33005 from mechanicles/fix-sentenceRafael França2018-05-281-1/+1
|\ \
| * | Fix sentence [ci skip]Santosh Wadghule2018-05-281-1/+1
* | | Fix: Arel Postgresql visitor generates invalid SQL for GROUPING SETS.david2018-05-281-2/+2
|/ /
* | Fix that association's after_touch is not called with counter cacheRyuta Kamizono2018-05-271-0/+4
* | Fix inconsistent touching behavior between assigning and unassigningRyuta Kamizono2018-05-272-2/+3
* | Fix `belongs_to_counter_cache_after_update` to respect polymorphic type changeRyuta Kamizono2018-05-273-2/+9
* | Avoid a subquery in updating counter cacheRyuta Kamizono2018-05-262-7/+8
* | Fix `belongs_to_counter_cache_after_update` to respect custom primary key cou...Ryuta Kamizono2018-05-261-0/+13
* | Fix `different_target?` to respect custom primary key counterRyuta Kamizono2018-05-261-3/+6
* | Eager loading won't mutate owner recordRyuta Kamizono2018-05-252-11/+19
* | Make force equality checking more strictly not to allow serialized attributeRyuta Kamizono2018-05-253-5/+15
|/
* Rollback parent transaction when children fails to update (#32796)Guillaume Malette2018-05-221-2/+5
* Merge pull request #32865 from yahonda/another_31988Rafael França2018-05-221-5/+10
|\
| * Disable foreign keys during `alter_table` for sqlite3 adapterYasuo Honda2018-05-221-5/+10
* | Exception wording changeCory Becker2018-05-211-1/+1
|/
* Merge pull request #32923 from yahonda/bump_sqlite3_version_to_38Ryuta Kamizono2018-05-213-13/+12
|\
| * Bump minimum SQLite version to 3.8Yasuo Honda2018-05-213-13/+12
* | Enable `Lint/StringConversionInInterpolation` rubocop ruleRyuta Kamizono2018-05-211-1/+1
|/
* `SqlTypeMetadata` is :nodoc: class [ci skip]Ryuta Kamizono2018-05-211-0/+1
* Rollback correctly restore initial record id after double saveRyuta Kamizono2018-05-191-1/+1
* Finalize transaction record state after real transactionEugene Kenny2018-05-192-15/+25
* Don't expose `SingularAssociation#replace` which is internal APIRyuta Kamizono2018-05-163-47/+44
* Remove :nodoc: from the methods which is added the doc [ci skip]Ryuta Kamizono2018-05-151-4/+4
* Merge pull request #32876 from wata727/add_available_transformationsGeorge Claghorn2018-05-131-0/+3
|\
| * Add available transformations to docs [ci skip]wata_mac2018-05-131-0/+3
* | Merge pull request #32878 from eugeneius/rm_rollback_active_record_stateRyuta Kamizono2018-05-131-14/+1
|\ \
| * | Remove ActiveRecord::Transactions#rollback_active_record_state!Eugene Kenny2018-05-131-14/+1
| |/
* | Merge pull request #32862 from eugeneius/callback_rollbackRyuta Kamizono2018-05-131-7/+1
|\ \ | |/ |/|
| * Don't clear transaction state after manual rollbackEugene Kenny2018-05-101-7/+1
* | `becomes` should clear the mutation tracker which is created in `after_initia...Ryuta Kamizono2018-05-112-2/+2
|/
* Fix ActiveRecord::AttributeMethods::Dirty documentation [ci skip]Kieran Trezona-le Comte2018-05-071-20/+58
* Fix logic on disabling commit callbacksBrian Durand2018-05-041-1/+1
* Allow a belonging to object to be created from a new recordJolyon Pawlyn2018-05-012-4/+8