Artificial intelligent assistant

Railsでネストされたモデルの名前を日本語で表示させたい (i18n) form class Ranking < ActiveRecord::Base has_many :ranking_posts, dependent: :destroy accepts_nested_attributes_for :ranking_posts validates_associated :ranking_posts end class RankingPost < ActiveRecord::Base belongs_to :ranking default_scope -> { order('rank DESC') } validates :title, :description, :rank, presence: true end RankingRankingPostform RankingPostformRanking postsRanking posts i18n ja: activerecord: models: ranking/ranking_posts:

`ranking``ranking_posts``activerecord.models``activerecord.attributes`


ja:
activerecord:
attributes:
ranking:
ranking_posts:


< 4.6

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy fab25c66d1ff03b8a7668f0e97a94ba2