Fix typo and remove code block since present is not a method.

This commit is contained in:
Rafael Mendonça França 2014-07-28 13:44:37 -03:00
parent a09f025758
commit 4e116c56a8
1 changed files with 1 additions and 1 deletions

View File

@ -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: