diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2014-01-03 22:33:21 +0100 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2014-01-03 22:33:21 +0100 |
commit | 05a81c5fe2efe08a171cd3dbef3873c1f0e5fae3 (patch) | |
tree | 14a5069794bedc656d40d2872a9b58f3db1cb398 | |
parent | 19b2188e6c53a0c2ce43567950ff699e58b33798 (diff) | |
download | rails-05a81c5fe2efe08a171cd3dbef3873c1f0e5fae3.tar.gz rails-05a81c5fe2efe08a171cd3dbef3873c1f0e5fae3.tar.bz2 rails-05a81c5fe2efe08a171cd3dbef3873c1f0e5fae3.zip |
Minor typo fix [ci skip]
-rw-r--r-- | activerecord/lib/active_record/enum.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/enum.rb b/activerecord/lib/active_record/enum.rb index c43b311223..9ad718a02a 100644 --- a/activerecord/lib/active_record/enum.rb +++ b/activerecord/lib/active_record/enum.rb @@ -75,7 +75,7 @@ module ActiveRecord if enum_values.has_key?(value) || value.blank? self[name] = enum_values[value] elsif enum_values.has_value?(value) - # Assigning a value directly is not a end-user fetaure, hence it's not documented. + # Assigning a value directly is not a end-user feature, hence it's not documented. # This is used internally to make building objects from the generated scopes work # as expected, i.e. +Conversation.archived.build.archived?+ should be true. self[name] = value |