serialize_with 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.send(:include, SerializeWith)
6
+ self.include SerializeWith
7
7
  end
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module SerializeWith
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serialize_with
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: