Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2041

Missing Argument for required localized field

    • Type: Icon: Task Task
    • Resolution: Done
    • 2.4.11
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      I have the following error using translations for mongoid (on a required localized field):

      I18n::MissingInterpolationArgument in ExercisesController#create
      
      missing interpolation argument in "can't be blank in %{in_locale}" ({:model=>"Übung", :attribute=>"Name", :value=>{"de"=>""}, :location=>"de"} given)
      

      The translation is at "mongoid.errors.models.exercise.attributes.name.blank_on_locale"

            Assignee:
            Unassigned Unassigned
            Reporter:
            niwo niwo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: