Raised when unknown attributes are supplied via mass assignment.
Methods
- N
-
Attributes
Class Public methods
new(record, attribute)
Link
Source:
show
| on GitHub
def initialize(record, attribute)
@record = record
@attribute = attribute.to_s
super("unknown attribute '#{attribute}' for #{@record.class}.")
end