1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

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: