lib/active_validation.rb in active_validation-2.2.0 vs lib/active_validation.rb in active_validation-2.2.1

- old
+ new

@@ -66,10 +66,10 @@ module ActiveValidation class Railtie < ::Rails::Railtie initializer 'active_validation' do |app| ActiveValidation::Railtie.instance_eval do - [app.config.i18n.available_locales].each do |locale| + [app.config.i18n.available_locales].flatten.each do |locale| (I18n.load_path << path(locale)) if File.file?(path(locale)) end end end \ No newline at end of file