Skip to content

Commit

Permalink
Minor typo fix [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
robin850 committed Jan 3, 2014
1 parent 19b2188 commit 05a81c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/enum.rb
Expand Up @@ -75,7 +75,7 @@ def enum(definitions)
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
Expand Down

0 comments on commit 05a81c5

Please sign in to comment.