method

raise_conflict_error

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Enum
raise_conflict_error(enum_name, method_name, type: "instance", source: "Active Record") 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/enum.rb, line 293
      def raise_conflict_error(enum_name, method_name, type: "instance", source: "Active Record")
        raise ArgumentError, ENUM_CONFLICT_MESSAGE % {
          enum: enum_name,
          klass: name,
          type: type,
          method: method_name,
          source: source
        }
      end
Register or log in to add new notes.