aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Expand)AuthorAgeFilesLines
* Revert "PERF: Recover `changes_applied` performance (#31698)"Sean Griffin2018-03-061-2/+4
* Ruby 2.4: take advantage of String#unpack1Jeremy Daer2018-03-012-2/+2
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-162-2/+2
* PERF: Recover `changes_applied` performance (#31698)Ryuta Kamizono2018-01-221-4/+2
* Move Attribute and AttributeSet to ActiveModelLisa Ugray2017-11-091-94/+2
* [Active Record] require => require_relativeAkira Matsuda2017-10-211-1/+1
* Merge pull request #30471 from dylanahsmith/remove-redundant-trackerAaron Patterson2017-09-271-23/+9
|\
| * activerecord: Remove a redundant mutation trackerDylan Thacker-Smith2017-08-301-23/+9
* | PERF: Partially recover some performance when preloading.Guo Xiang Tan2017-09-263-6/+10
|/
* Use tt in doc for ActiveRecord [ci skip]Yoshiyuki Hirano2017-08-271-11/+11
* Add :nodoc: for ActiveRecord::AttributeMethods [ci skip]Yoshiyuki Hirano2017-08-263-3/+3
* Don't expose `write_attribute_without_type_cast`Ryuta Kamizono2017-08-161-6/+5
* Allow `serialize` with a custom coder on `json` and `array` columnsRyuta Kamizono2017-08-131-7/+4
* Document `ActiveRecord::AttributeMethods::Dirty`Sean Griffin2017-08-081-9/+9
* Merge pull request #29520 from kirs/serialize-vs-postgres-native-columnSean Griffin2017-08-041-0/+24
|\
| * Do not let use `serialize` on native JSON/array columnKir Shatrov2017-08-041-0/+24
* | Merge pull request #29724 from eugeneius/sync_primary_keyMatthew Draper2017-08-022-0/+6
|\ \ | |/ |/|
| * Sync transaction state when accessing primary keyEugene Kenny2017-07-092-0/+6
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-197-0/+14
* | Remove deprecated code concerning non-attributes and `*_will_change!`Sean Griffin2017-07-181-11/+1
* | Remove deprecated code concerning dirty methods in after callbacksSean Griffin2017-07-181-79/+8
* | [Action Record] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
|/
* Merge pull request #29495 from eugeneius/_write_attributeMatthew Draper2017-07-093-9/+15
|\
| * Rename raw_write_attribute to write_attribute_without_type_castEugene Kenny2017-07-072-7/+7
| * Improve the performance of writing attributesEugene Kenny2017-06-182-5/+11
* | [Active Record] require => require_relativeAkira Matsuda2017-07-011-1/+1
|/
* Don't map id to primary key in raw_write_attributeEugene Kenny2017-06-151-15/+6
* Prevent extra `sync_with_transaction_state`Ryuta Kamizono2017-06-151-5/+2
* Avoid overwriting the methods of `AttributeMethods::PrimaryKey`Ryuta Kamizono2017-06-071-7/+3
* Use mattr_accessor default: option throughout the projectGenadi Samokovarov2017-06-031-2/+1
* Add option for class_attribute default (#29270)David Heinemeier Hansson2017-05-292-7/+3
* Move around AR::Dirty and fix _attribute methodAaron Patterson2017-04-141-4/+0
* Fix inconsistency with changed attributes when overriding AR attribute readerbogdanvlviv2017-04-121-0/+4
* Add missing backtick to deprecation messageyuuji.yaginuma2017-03-311-1/+1
* Soft-deprecate the top-level HashWithIndifferentAccess classRobin Dupret2017-02-251-3/+3
* Revert "Merge pull request #27925 from robin850/hwia-removal"Kasper Timm Hansen2017-02-201-3/+3
* Deprecate the top-level `HashWithIndifferentAccess` contantRobin Dupret2017-02-191-3/+3
* Remove unused requireRyuta Kamizono2017-02-121-2/+0
* Deprecate calling `attr_will_change!` with non-attributesSean Griffin2017-02-111-1/+11
* Fix inspection behavior when the :id column is not primary keynamusyaka2017-02-091-1/+1
* Report the attribute on ActiveRecord::SerializationTypeMismatchKir Shatrov2017-01-291-1/+1
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* Merge pull request #27491 from kamipo/add_missing_emit_warningSean Griffin2017-01-031-0/+5
|\
| * Add missing `emit_warning_if_needed` for `changed?`Ryuta Kamizono2016-12-291-0/+5
* | Set time as a timezone aware type and remove related deprecationRafael Mendonça França2016-12-291-23/+2
|/
* Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-283-3/+3
* Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-243-6/+6
* Check whether the current attribute being write is aliased or not before writingPrathamesh Sonpatki2016-12-091-1/+7
* Check whether the current attribute being read is aliased or not before readingPrathamesh Sonpatki2016-12-081-1/+6
* Correct deprecation warnings in `ActiveRecord::Dirty`Sean Griffin2016-11-301-6/+6