aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-28 13:44:37 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-28 13:44:37 -0300
commit4e116c56a84bd995c6f9524a84b9227b5d32a09a (patch)
treea851f6204e3d774968b5f54c5810b5487eab643c /activerecord/lib
parenta09f0257580c240fc91347d60725cc5ac0d908c7 (diff)
downloadrails-4e116c56a84bd995c6f9524a84b9227b5d32a09a.tar.gz
rails-4e116c56a84bd995c6f9524a84b9227b5d32a09a.tar.bz2
rails-4e116c56a84bd995c6f9524a84b9227b5d32a09a.zip
Fix typo and remove code block since present is not a method.
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 906f590c99..f978fbd0a4 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -141,7 +141,7 @@ module ActiveRecord #:nodoc:
#
# In addition to the basic accessors, query methods are also automatically available on the Active Record object.
# Query methods allow you to test whether an attribute value is present.
- # For numeric values, +persent+ is defined as non-zero.
+ # For numeric values, present is defined as non-zero.
#
# For example, an Active Record User with the <tt>name</tt> attribute has a <tt>name?</tt> method that you can call
# to determine whether the user has a name: