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 13:40:09 +0100
commit0a3fc60966cd62e4502251e7445d5d0704a160cb (patch)
tree70390b740fd5ca6caff19bdbe4a4d2c50167de45
parent738dcb2a39099be6fa79f1810d87bef90b09c332 (diff)
Add UTF-8 encoding line.hotfix/0.29.0.30
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 920c0da46..8fd7851e0 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -1,3 +1,4 @@
+# -*- encoding : utf-8 -*-
# == Schema Information
#
# Table name: users