ActiveRecord::FinderMethods

module ActiveRecord::FinderMethods

Constants

ONE_AS_ONE

Public Instance Methods

exists?(conditions = :none) Show source

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: