Just trying to enable correct i18n for error_messages for using nested_attributes. Used this patch but moved to an initializer instead. Rails 3.0.0.beta4 をいじっているときのこと。。。 nested_attributes を使って親モデルと子モデルを同時に編集する際、error_messages_for を使ってバリデーションのエラーメッセージを吐き出してるんですが、なぜか子モデルのエラーだけがローカライズされない。 例: class User < ActiveRecord::Base has_many :posts accepts_nested_attributes_for :posts validates_presence_of :n