lib/bic_validation.rb in bic_validation-0.2.1 vs lib/bic_validation.rb in bic_validation-0.3.0
- old
+ new
@@ -6,5 +6,7 @@
module BicValidation
end
ActiveModel::Validations.send(:include, BicValidation)
+I18n.load_path += Dir[File.expand_path(File.join(File.dirname(__FILE__),
+ '../locales', '*.yml')).to_s]