класс ActiveRecord::AttributeAssignmentError
Возникает, если при массовом присваивании атрибуту через метод ActiveRecord::Base#attributes= произошла ошибка. Исключение содержит свойство attribute, в котором указано имя атрибута, вызвавшего ошибку.
Атрибуты
Открытые методы класса
# File activerecord/lib/active_record/errors.rb, line 459 def initialize(message = nil, exception = nil, attribute = nil) super(message) @exception = exception @attribute = attribute end
Вызывает метод суперкласса
© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.