diff options
author | Steve Klabnik <steve@steveklabnik.com> | 2013-04-02 18:01:56 -0700 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2013-04-02 18:01:56 -0700 |
commit | aec0e68e641b3abab0830bc24e69694a7ba33c41 (patch) | |
tree | 593e92125fe870b0928fa5907c9d3c88be3517cf /activerecord | |
parent | c9a92a247d7a483ea74006782112d3ea345a6af3 (diff) | |
download | rails-aec0e68e641b3abab0830bc24e69694a7ba33c41.tar.gz rails-aec0e68e641b3abab0830bc24e69694a7ba33c41.tar.bz2 rails-aec0e68e641b3abab0830bc24e69694a7ba33c41.zip |
true/false => truthy falsy
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/relation/finder_methods.rb | 4 |
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 |