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:
parent
a09f025758
commit
4e116c56a8
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue