lib/voltron/translate/engine.rb in voltron-translate-0.2.2 vs lib/voltron/translate/engine.rb in voltron-translate-0.2.3
- old
+ new
@@ -3,15 +3,11 @@
class Engine < Rails::Engine
isolate_namespace Voltron
initializer 'voltron.translate.initialize' do
- ::ActionController::Base.send :include, ::Voltron::Translate
- ::ActiveRecord::Base.send :include, ::Voltron::Translate
- ::ActiveRecord::Base.send :extend, ::Voltron::Translate
::ActiveRecord::Base.send :extend, ::Voltron::Translatable
- ::ActionView::Base.send :include, ::Voltron::Translate
- ::ActionMailer::Base.send :include, ::Voltron::Translate
+ ::String.send :include, ::Voltron::Translate
end
end
end
end
\ No newline at end of file