build_relation(klass, attribute, value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/validations/uniqueness.rb, line 52
      def build_relation(klass, attribute, value)
        klass.unscoped.where!({ attribute => value }, options)
      end
Register or log in to add new notes.