serialize_with 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/serialize_with/railtie.rb +1 -1
- data/lib/serialize_with/version.rb +1 -1
- metadata +1 -1
@@ -3,7 +3,7 @@ module SerializeWith
|
|
3
3
|
initializer "serialize_with.extend_active_record_base" do |app|
|
4
4
|
if defined?(ActiveRecord)
|
5
5
|
ActiveSupport.on_load(:active_record) do
|
6
|
-
ActiveRecord::Base.include SerializeWith
|
6
|
+
ActiveRecord::Base.send(:include, SerializeWith)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|