aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Fix documentation based on feedbackAaron Patterson2018-06-262-3/+7
* define attribute methods in `init_from_db`Aaron Patterson2018-06-261-0/+2
* Merge branch 'master' into homogeneous-allocationAaron Patterson2018-06-263-7/+7
|\
| * Call initialize after allocateAaron Patterson2018-06-261-5/+0
| * Remove `ActiveSupport::Concern` from `ActiveRecord::Aggregations`Ryuta Kamizono2018-06-261-2/+0
| * Add example for no_touching? in active_record/no_touching for api docs [ci skip]Michael Munroe2018-06-251-0/+7
* | Speed up homogeneous AR lists / reduce allocationsAaron Patterson2018-06-254-2/+38
|/
* Lazily add `Aggregations` to `composed_of` modelsAaron Patterson2018-06-252-1/+5
* Use `reflection.alias_candidate` in `table_alias_for`Ryuta Kamizono2018-06-261-1/+1
* Fix formatting of `primary_key` [ci skip]yuuji.yaginuma2018-06-241-2/+2
* Remove all `aliases` passing from `JoinDependency`Ryuta Kamizono2018-06-201-2/+2
* Remove useless `aliases` argument from `JoinDependency#construct`Ryuta Kamizono2018-06-201-5/+5
* Remove unused `rs` argument from `JoinDependency#construct`Ryuta Kamizono2018-06-201-5/+5
* Merge pull request #33074 from lsylvester/optimize-pluckRafael França2018-06-191-5/+14
|\
| * Avoid creating temporary arrays in ActiveRecord::Result#cast_values in order ...Lachlan Sylvester2018-06-191-5/+14
* | Merge pull request #33158 from bogdan/cleanup-habtm-builderRyuta Kamizono2018-06-191-37/+16
|\ \
| * | Removed useless utility classes inside HABTM association builderBogdan Gusiev2018-06-191-37/+16
| |/
* / Ensure to calculate column aliases after all table aliases are constructedRyuta Kamizono2018-06-197-85/+80
|/
* Merge pull request #33147 from nsgc/add-api-document-about-migration-methodsRyuta Kamizono2018-06-181-0/+5
|\
| * Add docs for ActiveRecord::Migration#say, #say_with_time, #suppress_messages ...Naoki Nishiguchi2018-06-181-0/+5
* | Fix `touch` option to behave consistently with `Persistence#touch` methodRyuta Kamizono2018-06-183-24/+25
|/
* Merge pull request #29373 from untidy-hair/store_accessor_enhanceRyuta Kamizono2018-06-131-5/+21
|\
| * Update prefix and allow suffix options for store accessorsYukio Mizuta2018-06-121-5/+21
* | Add ability to configure cache notifications infoEileen Uchitelle2018-06-121-6/+14
* | Don't use `target=`Rafael Mendonça França2018-06-111-1/+1
* | Use `-=` to change the update the collection on the associationRafael Mendonça França2018-06-111-2/+1
* | Merge pull request #29939 from arthurchui/activerecord-delete-associations-loopRafael Mendonça França2018-06-111-1/+2
|\ \
| * | Use hash lookup for deleting existing associations from `target`Arthur Chui2017-07-251-1/+2
* | | Fix alias confliction when joining same table on has many through with left_j...Ryuta Kamizono2018-06-111-1/+1
* | | 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
| | |/ | |/|
* | | 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