instance method
inherited
Ruby on Rails 8.0.4
Since v7.1.6 PrivateSignature
inherited(base)
No documentation comment.
Parameters
-
basereq
Source
# File activemodel/lib/active_model/naming.rb, line 352
def inherited(base)
super
base.class_eval do
@_model_name = nil
end
end
Defined in activemodel/lib/active_model/naming.rb line 352
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Naming