aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Expand)AuthorAgeFilesLines
* It may be better to explicitly require 'object/try' where we call `try`Akira Matsuda2019-08-011-0/+2
* Use match? where we don't need MatchDataAkira Matsuda2019-07-271-1/+1
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-136-8/+0
* Don't track implicit `touch` mutationRyuta Kamizono2019-05-131-1/+6
* Avoid redundant `attribute_alias?` before `attribute_alias`Ryuta Kamizono2019-04-243-12/+4
* PERF: 20% faster pk attribute accessRyuta Kamizono2019-04-223-13/+9
* Avoid method call if `@transaction_state` is not finalizedRyuta Kamizono2019-04-214-8/+8
* Fix dirty tracking after rollback.Ryuta Kamizono2019-04-165-16/+17
* Fix dirty tracking for `touch`Ryuta Kamizono2019-04-151-0/+24
* Improve wording of commentsChris Salzberg2019-04-133-3/+3
* PERF: 2x ~ 30x faster dirty trackingRyuta Kamizono2019-04-111-8/+6
* Fix query attribute method on user-defined attribute to be aware of typecaste...kamille-3212019-03-111-2/+1
* 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
|\