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:
parent
c9a92a247d
commit
aec0e68e64
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue