aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-08-24 13:25:11 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-08-24 13:25:11 -0700
commit44f07098fe415593e7721afe89e40581d7dc35d3 (patch)
treef93561658bf5af1fa3f2c32f3ff9ff052fc2e33e /activesupport/lib
parent2f88743c30ef3dcc7616a6cf18331b84372172b8 (diff)
downloadrails-44f07098fe415593e7721afe89e40581d7dc35d3.tar.gz
rails-44f07098fe415593e7721afe89e40581d7dc35d3.tar.bz2
rails-44f07098fe415593e7721afe89e40581d7dc35d3.zip
dealing with some -w warnings on startup
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/i18n_railtie.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/i18n_railtie.rb b/activesupport/lib/active_support/i18n_railtie.rb
index a25e951080..4402897f10 100644
--- a/activesupport/lib/active_support/i18n_railtie.rb
+++ b/activesupport/lib/active_support/i18n_railtie.rb
@@ -38,6 +38,8 @@ module I18n
protected
+ @i18n_inited = false
+
# Setup i18n configuration
def self.initialize_i18n(app)
return if @i18n_inited