mirror of https://github.com/rails/rails
Fix typo and remove code block since present is not a method.
This commit is contained in:
parent
a09f025758
commit
4e116c56a8
|
@ -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 New Issue