lib/serializer/railtie.rb in serializer-0.0.9 vs lib/serializer/railtie.rb in serializer-1.0.0
- old
+ new
@@ -1,14 +1,14 @@
require 'serializer'
require 'rails'
module Serializer
class Railtie < Rails::Railtie
-
+
initializer 'serializer.initialize' do
ActiveSupport.on_load(:active_record) do
ActiveRecord::Base.send :include, Serializer
end
end
-
+
end
end
\ No newline at end of file