lib/friendly_id/finder_methods.rb
# Returns true if a record with the given id exists.
Returns true if a record with the given id exists.
Returns true if a record with the given id exists .
def exists?(conditions = :none)
      return super if conditions.unfriendly_id?
      return true if exists_by_friendly_id?(conditions)
      super
    end
def exists? ( conditions = :none ) return super if conditions . unfriendly_id? return true if exists_by_friendly_id? ( conditions ) super end
Returns true if a record with the given id exists.
Returns true if a record with the given id exists .
conditions