aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2013-12-06 11:29:18 -0800
committerGodfrey Chan <godfreykfc@gmail.com>2013-12-06 11:29:18 -0800
commitdd59228082ea7975bd29bae34cc7180ab9736b2b (patch)
treef8aa7cfb5c8658b348814e44a3faa504eefeebcd
parenta220b1518dc6785e4d66437ec7362f7b8f5506e7 (diff)
parent8cfab46837f66587c3cdb5ea40a0d968fd3e1b15 (diff)
downloadrails-dd59228082ea7975bd29bae34cc7180ab9736b2b.tar.gz
rails-dd59228082ea7975bd29bae34cc7180ab9736b2b.tar.bz2
rails-dd59228082ea7975bd29bae34cc7180ab9736b2b.zip
Merge pull request #13219 from robin850/patch-11
Very tiny typo fix [ci skip]
-rw-r--r--activerecord/lib/active_record/enum.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/enum.rb b/activerecord/lib/active_record/enum.rb
index b42039e722..837989aaa7 100644
--- a/activerecord/lib/active_record/enum.rb
+++ b/activerecord/lib/active_record/enum.rb
@@ -35,7 +35,7 @@ module ActiveRecord
#
# Note that when an +Array+ is used, the implicit mapping from the values to database
# integers is derived from the order the values appear in the array. In the example,
- # <tt>:active</tt> is mapped to +0+ as it's the first elemet, and <tt>:archived</tt>
+ # <tt>:active</tt> is mapped to +0+ as it's the first element, and <tt>:archived</tt>
# is mapped to +1+. In general, the +i+-th element is mapped to <tt>i-1</tt> in the
# database.
#