Undefined method `scan'


There is error when trying to save translate of some email template. For example, “Pending Users Reminder” at https://example.com/admin/customize/email_templates/system_messages.pending_users_reminder

`Started PUT "/admin/customize/email_templates/system_messages.pending_users_reminder" for at 2019-03-06 11:29:06 +0000
Processing by Admin::EmailTemplatesController#update as JSON
  Parameters: {"email_template"=>{"subject"=>"", "body"=>"Some text"}, "id"=>"system_messages.pending_users_reminder"}
Completed 500 Internal Server Error in 451ms (ActiveRecord: 50.8ms)
NoMethodError (undefined method `scan' for #<Hash:0x00007f6dbf2f49d0>)
/var/www/discourse/lib/i18n/i18n_interpolation_keys_finder.rb:3:in `find'`

Discourse version v2.3.0.beta3 +22

1 Like

@gerhard can you have a look?

1 Like

Thanks for reporting that issue. It’s fixed.