0

Rails アプリケーションを sqlite から mongodb に変換する作業を行っています。これまでのところうまくいっていますが、config/locales/en.yml 設定を取得していません:-

en:
  activerecord:
      models:
          access_ref: "Access Type"
          applicant_type_ref: "Applicant Type"
          applicant_custom_ref: "Applicant Custom Field"
          limit_ref: "Spending Limit Increment"
          tenure_ref: "Tenure Type"
          property_type_ref: "Property Type"
          property_custom_ref: "Property Custom Field"

Rails 4/mongoid 環境が上記の設定を選択するようにするには、どのような変更を行う必要がありますか?

どうもありがとう

4

2 に答える 2

-1

このアクティブレコードを変更してみてください: mongoid を使用:

于 2014-01-30T19:04:51.480 に答える