aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2013-12-06 20:21:12 +0100
committerRobin Dupret <robin.dupret@gmail.com>2013-12-06 20:21:12 +0100
commit8cfab46837f66587c3cdb5ea40a0d968fd3e1b15 (patch)
treef8aa7cfb5c8658b348814e44a3faa504eefeebcd
parenta220b1518dc6785e4d66437ec7362f7b8f5506e7 (diff)
downloadrails-8cfab46837f66587c3cdb5ea40a0d968fd3e1b15.tar.gz
rails-8cfab46837f66587c3cdb5ea40a0d968fd3e1b15.tar.bz2
rails-8cfab46837f66587c3cdb5ea40a0d968fd3e1b15.zip
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.
#