instance method
i18n_scope
Ruby on Rails 8.0.4
Since v7.1.6 PrivateSignature
i18n_scope()
No documentation comment.
Source
# File activemodel/lib/active_model/naming.rb, line 228
def i18n_scope
@i18n_scope ||= @klass.respond_to?(:i18n_scope) ? [@klass.i18n_scope, :models] : []
end
Defined in activemodel/lib/active_model/naming.rb line 228
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Name