From 646e6dbc7682d6fd83b16fdd97976274a4ea9ad1 Mon Sep 17 00:00:00 2001 From: Priit Tamboom Date: Sat, 5 Jun 2010 20:27:28 +0200 Subject: [PATCH] validations.rb needs to be declared as UTF-8 for ruby 1.9 --- activerecord/lib/active_record/validations.rb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index 17cbcb9..8d917dd 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -1,3 +1,4 @@ +# encoding: utf-8 module ActiveRecord # Raised by save! and create! when the record is invalid. Use the # +record+ method to retrieve the record which did not validate. -- 1.7.0.4