instance method ==

Ruby on Rails 6.0.6

Since v6.0.6 Last seen in v7.2.3

Available in: v6.0.6 v6.1.7.10 v7.0.10 v7.1.6 v7.2.3

Signature

==(other)

No documentation comment.

Parameters

other req
Source
# File activemodel/lib/active_model/validations/acceptance.rb, line 73
          def ==(other)
            self.class == other.class && attributes == other.attributes
          end

Defined in activemodel/lib/active_model/validations/acceptance.rb line 73 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::Validations::AcceptanceValidator::LazilyDefineAttributes

Type at least 2 characters to search.

↑↓ navigate · open · esc close