From 4e116c56a84bd995c6f9524a84b9227b5d32a09a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 28 Jul 2014 13:44:37 -0300 Subject: [PATCH] Fix typo and remove code block since present is not a method. --- activerecord/lib/active_record/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 906f590c99cc5..f978fbd0a4e69 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -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 name attribute has a name? method that you can call # to determine whether the user has a name: