public
Description: Globalization made easy with interface in place translations
Homepage: http://lucaguidi.com/projects/click-to-globalize
Clone URL: git://github.com/jodosha/click-to-globalize.git
Make sure Locale#load_configured_base_language is performed while loading in all 
environments
jodosha (author)
Mon Aug 11 05:33:59 -0700 2008
commit  b10bd091f4eb674f6fdc47f42ab16e4f2031265f
tree    9337500a009ebd475940d9a888a5ddb5051caabb
parent  ce0dac79910195790e4291144c50a1e0b756b8b9
...
10
11
12
13
14
15
16
17
 
 
...
10
11
12
 
 
 
 
 
13
14
0
@@ -10,8 +10,5 @@ end
0
 Object.send :include, Globalize
0
 require 'click_to_globalize'
0
 
0
-# FIXME
0
-unless ENV['RAILS_ENV'] == 'test'
0
-  Locale.load_configured_base_language
0
-  raise NoBaseLanguageError if Locale.base_language.blank?
0
-end
0
+Locale.load_configured_base_language
0
+raise NoBaseLanguageError if Locale.base_language.blank?

Comments