method

i18n_keys

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveModel::Name
i18n_keys() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/naming.rb, line 220
      def i18n_keys
        @i18n_keys ||= if @klass.respond_to?(:lookup_ancestors)
          @klass.lookup_ancestors.map { |klass| klass.model_name.i18n_key }
        else
          []
        end
      end
Register or log in to add new notes.