instance method i18n_scope

Ruby on Rails 8.1.2

Since v7.1.6 Private

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

i18n_scope()

No documentation comment.

Source
# File activemodel/lib/active_model/naming.rb, line 227
      def i18n_scope
        @i18n_scope ||= @klass.respond_to?(:i18n_scope) ? [@klass.i18n_scope, :models] : []
      end

Defined in activemodel/lib/active_model/naming.rb line 227 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::Name

Type at least 2 characters to search.

↑↓ navigate · open · esc close