1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

true/false => truthy falsy

This commit is contained in:
Steve Klabnik 2013-04-02 18:01:56 -07:00
parent c9a92a247d
commit aec0e68e64

View file

@ -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