app/models/concerns/errorable.rb
# Returns whether or not there is an error associated with the provided property
Returns whether or not there is an error associated with the provided property
Returns whether or not there is an error associated with the provided property
def has_error?( property )
    self.errors[property].present?
  end
def has_error? ( property ) self . errors [ property ] . present? end
Returns whether or not there is an error associated with the provided property
Returns whether or not there is an error associated with the provided property
property