Skip to content

Commit

Permalink
Fix typo and remove code block since present is not a method.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Jul 28, 2014
1 parent a09f025 commit 4e116c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/base.rb
Expand Up @@ -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:
Expand Down

0 comments on commit 4e116c5

Please sign in to comment.