aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Fix sentence [ci skip]Santosh Wadghule2018-05-281-1/+1
* | 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
* Restore original merging order to enforce `if_exists: true`Ryuta Kamizono2018-04-291-2/+1
* Fix `Associations::ClassMethods` doc [ci skip]Ryuta Kamizono2018-04-291-7/+7
* Ensure that `ids_reader` respects dirty target whether target is loaded or notRyuta Kamizono2018-04-271-1/+3
* Loaded associations should not run a new query when size is calledGraham Turner2018-04-261-1/+3
* `get_value` needs to be a public methodGraham Turner2018-04-251-4/+5
* Merge pull request #32646 from derekprior/dp-schema-dumper-documentationSean Griffin2018-04-241-5/+5
|\
| * Update schema.rb documentation [CI SKIP]Derek Prior2018-04-241-5/+5
* | `columns` is cached in the statementRyuta Kamizono2018-04-241-6/+3
* | Save a hash allocation in MySQL statement poolEugene Kenny2018-04-232-5/+2
* | Merge pull request #32514 from samdec/multiple-has-one-through-associations-b...Ryuta Kamizono2018-04-221-1/+5
|\ \
| * | Fix .new with multiple through associationsSam DeCesare2018-04-091-1/+5
* | | `target` in `CollectionAssociation` is always an arrayRyuta Kamizono2018-04-211-2/+2
* | | Fix typo in the `touch_all` doc [ci skip]Ryuta Kamizono2018-04-211-4/+4
* | | Can preload associations through polymorphic associationsDana Sherson2018-04-201-10/+15
* | | Merge pull request #31513 from fatkodima/relation-touch_allRafael França2018-04-202-10/+47
|\ \ \
| * | | Add `touch_all` method to `ActiveRecord::Relation`fatkodima2018-04-132-10/+47
* | | | Merge pull request #32667 from yahonda/mod_empty_insert_statement_valueRafael França2018-04-203-3/+3
|\ \ \ \