# File lib/active_record/base.rb, line 382 def exists?(id) !find(:first, :conditions => ["#{primary_key} = ?", id]).nil? rescue false end