lib/active_remote/integration.rb in active_remote-5.0.0.pre vs lib/active_remote/integration.rb in active_remote-5.0.0.rc1
- old
+ new
@@ -22,10 +22,10 @@
#
# user = User.search(:name => 'Phusion')
# user.to_param # => "GUID-1"
#
def to_param
- self[:guid] && self[:guid].to_s
+ self[:guid]&.to_s
end
##
# Returns a cache key that can be used to identify this record.
#