lib/translatable/railtie.rb in ar-translatable-0.0.1 vs lib/translatable/railtie.rb in ar-translatable-0.0.2
- old
+ new
@@ -1,7 +1,7 @@
module Translatable
class Railtie < ::Rails::Railtie
initializer "translatable.initialize" do
- ActiveRecord::Base.include Translatable::ActsAsTranslatable
+ ActiveRecord::Base.send(:include, Translatable::ActsAsTranslatable)
end
end
end