aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-05-15 13:40:09 +0100
committerLouise Crow <louise.crow@gmail.com>2015-05-15 15:50:14 +0100
commit7165154293739eb77d0d2a7bcd052ac9fdd3cf69 (patch)
treee23e6aa37d403959e5230cb2391cbce5ce3e766c
parent74b6a28dac91232d8c6b66903f7d15dd39ac8857 (diff)
Add UTF-8 encoding line.
Without this line, strings created in the file will use the default external encoding set by the ENV variable LANG. When processes are forked or run in cron, this may not be preserved, so better to set explicitly.
-rw-r--r--app/models/user.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 1c6dc0eb0..7d3573692 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -1,3 +1,4 @@
+# -*- encoding : utf-8 -*-
# == Schema Information
#
# Table name: users