Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

require i18n in transliterate so it can run in isolated situations

  • Loading branch information...
commit a23bf047b695f6d96bc70794fba1875c23682eb2 1 parent b5a17d7
@jackdempsey jackdempsey authored Carl Lerche committed
View
1  activesupport/lib/active_support/i18n.rb
@@ -1,5 +1,6 @@
begin
require 'i18n'
+ require 'lazy_load_hooks'
rescue LoadError => e
$stderr.puts "You don't have i18n installed in your application. Please add it to your Gemfile and run bundle install"
raise e
View
1  activesupport/lib/active_support/inflector/transliterate.rb
@@ -1,5 +1,6 @@
# encoding: utf-8
require 'active_support/core_ext/string/multibyte'
+require 'active_support/i18n'
module ActiveSupport
module Inflector
Please sign in to comment.
Something went wrong with that request. Please try again.