diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-09-09 09:08:27 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-09-13 00:01:57 +0100 |
commit | 99bd6b53da9555450afb1e050324007868e0768c (patch) | |
tree | b77bdc373a39b438613fda922057539029b882d6 /activerecord | |
parent | 93d574c9627ade0b0bdf4ff05471dabe18cafedc (diff) | |
download | rails-99bd6b53da9555450afb1e050324007868e0768c.tar.gz rails-99bd6b53da9555450afb1e050324007868e0768c.tar.bz2 rails-99bd6b53da9555450afb1e050324007868e0768c.zip |
Add deprecation for doing `attribute_method_suffix ''`
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/attribute_methods/read.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/read.rb b/activerecord/lib/active_record/attribute_methods/read.rb index 9a50a20fbc..4174e4da09 100644 --- a/activerecord/lib/active_record/attribute_methods/read.rb +++ b/activerecord/lib/active_record/attribute_methods/read.rb @@ -6,8 +6,6 @@ module ActiveRecord ATTRIBUTE_TYPES_CACHED_BY_DEFAULT = [:datetime, :timestamp, :time, :date] included do - attribute_method_suffix "" - cattr_accessor :attribute_types_cached_by_default, :instance_writer => false self.attribute_types_cached_by_default = ATTRIBUTE_TYPES_CACHED_BY_DEFAULT |