method

new

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: SoleRecordExceeded
new(record = nil) public

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/errors.rb, line 174
    def initialize(record = nil)
      @record = record
      super "Wanted only one #{record&.name || "record"}"
    end
Register or log in to add new notes.