diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-16 14:44:41 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-16 14:44:41 -0300 |
commit | d3ebc02aedb9b47ac76c57e7e1b64343c8fb1662 (patch) | |
tree | c4efb0e787cd2061378138faaa223b7f1b69bbc9 | |
parent | 341698ed40e023898d9f9d1f5c163d4d2cab4832 (diff) | |
download | rails-d3ebc02aedb9b47ac76c57e7e1b64343c8fb1662.tar.gz rails-d3ebc02aedb9b47ac76c57e7e1b64343c8fb1662.tar.bz2 rails-d3ebc02aedb9b47ac76c57e7e1b64343c8fb1662.zip |
nodoc enum hooks [ci skip]
-rw-r--r-- | activerecord/lib/active_record/enum.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/enum.rb b/activerecord/lib/active_record/enum.rb index 38c6dcf88d..f0ee433d0b 100644 --- a/activerecord/lib/active_record/enum.rb +++ b/activerecord/lib/active_record/enum.rb @@ -69,12 +69,12 @@ module ActiveRecord # # Where conditions on an enum attribute must use the ordinal value of an enum. module Enum - def self.extended(base) + def self.extended(base) # :nodoc: base.class_attribute(:defined_enums) base.defined_enums = {} end - def inherited(base) + def inherited(base) # :nodoc: base.defined_enums = defined_enums.deep_dup super end |