aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/finder_methods.rb
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-04-02 18:01:56 -0700
committerSteve Klabnik <steve@steveklabnik.com>2013-04-02 18:01:56 -0700
commitaec0e68e641b3abab0830bc24e69694a7ba33c41 (patch)
tree593e92125fe870b0928fa5907c9d3c88be3517cf /activerecord/lib/active_record/relation/finder_methods.rb
parentc9a92a247d7a483ea74006782112d3ea345a6af3 (diff)
downloadrails-aec0e68e641b3abab0830bc24e69694a7ba33c41.tar.gz
rails-aec0e68e641b3abab0830bc24e69694a7ba33c41.tar.bz2
rails-aec0e68e641b3abab0830bc24e69694a7ba33c41.zip
true/false => truthy falsy
Diffstat (limited to 'activerecord/lib/active_record/relation/finder_methods.rb')
-rw-r--r--activerecord/lib/active_record/relation/finder_methods.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation/finder_methods.rb b/activerecord/lib/active_record/relation/finder_methods.rb
index a03d4bfeff..72e9272cd7 100644
--- a/activerecord/lib/active_record/relation/finder_methods.rb
+++ b/activerecord/lib/active_record/relation/finder_methods.rb
@@ -130,8 +130,8 @@ module ActiveRecord
last or raise RecordNotFound
end
- # Returns +true+ if a record exists in the table that matches the +id+ or
- # conditions given, or +false+ otherwise. The argument can take six forms:
+ # Returns truthy if a record exists in the table that matches the +id+ or
+ # conditions given, or falsy otherwise. The argument can take six forms:
#
# * Integer - Finds the record with this primary key.
# * String - Finds the record with a primary key corresponding to this