Browse files

ruby 1.9 compat: declare source file encodings

  • Loading branch information...
1 parent 2fd1651 commit 79e8cedacfa0623a741259d1e0d6479fefb041b7 @yob committed Dec 23, 2009
Showing with 4 additions and 0 deletions.
  1. +2 −0 lib/dumb_quotes.rb
  2. +2 −0 test/dumb_quotes_test.rb
View
2 lib/dumb_quotes.rb
@@ -1,3 +1,5 @@
+# coding: utf-8
+
module DumbQuotes
# Strips whitespace from model fields and converts blank values to nil.
def dumb_quotes!(options = nil)
View
2 test/dumb_quotes_test.rb
@@ -1,3 +1,5 @@
+# coding: utf-8
+
require "#{File.dirname(__FILE__)}/test_helper"
module MockAttributes

0 comments on commit 79e8ced

Please sign in to comment.