aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #30973 from k0kubun/prefer-block-parameterRyuta Kamizono2018-12-201-10/+2
|\
| * Unify _read_attribute definition to use &blockTakashi Kokubun2018-12-201-10/+2
* | Clarify no support for non PK id columnsGannon McGibbon2018-11-301-5/+6
* | Allow aliased attributes in updateGannon McGibbon2018-11-291-3/+7
* | Reduce string allocations in read/write_attributeEugene Kenny2018-10-212-8/+6
* | Improve model attribute accessor method names for backtracesDylan Thacker-Smith2018-10-122-44/+21
* | Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-292-4/+4
* | Remove extra `& self.class.column_names` in `keys_for_partial_write`Ryuta Kamizono2018-08-301-6/+6
* | Mutation tracker should be cleared before continuing around callbacksYuya Tanaka2018-08-281-5/+6
* | Use strings instead of symbols on calls to decorate_matching_attribute_typesDillon Welch2018-08-101-1/+1
|/
* `becomes` should clear the mutation tracker which is created in `after_initia...Ryuta Kamizono2018-05-111-1/+1
* Fix ActiveRecord::AttributeMethods::Dirty documentation [ci skip]Kieran Trezona-le Comte2018-05-071-20/+58
* Fix broken nodocsChris Arcand2018-04-131-1/+1
* Avoid generating full changes hash on every saveEugene Kenny2018-04-081-1/+1
* Add AR::Base.base_class? predicateBogdan Gusiev2018-04-021-1/+1
* 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