ActiveModel UnknownAttributeError class UnknownAttributeError Ruby on Rails 5.0.7.2 Since v5.0.7.2 Available in: v5.0.7.2 v5.1.7 v5.2.8.1 v6.0.6.1 v6.1.7.10 v7.0.10 v7.1.6 v7.2.3.2 v8.0.5.1 v8.1.3.1 edge Compare with: (choosing a version navigates to the comparison) Choose a version v5.1.7 · changed v5.2.8.1 · changed v6.0.6.1 · changed v6.1.7.10 · changed v7.0.10 · changed v7.1.6 · changed v7.2.3.2 · changed v8.0.5.1 · changed v8.1.3.1 · changed edge · changed Raised when unknown attributes are supplied via mass assignment. Inherits from NoMethodError Attributes ActiveModel::UnknownAttributeError#attribute ActiveModel::UnknownAttributeError#record Methods (defined here) self. new On this page Attributes Methods Support Bug Reports can be filed for the Ruby on Rails project on GitHub. Feature requests should be discussed on the rubyonrails-core forum. License Released under the MIT license.