RubyGems
npm
Organizations
Log in
Sign up
RubyGems
serialize_with
Versions diffs
0.1.5 → 0.1.6
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.
Files changed (3)
hide
show
data/lib/serialize_with/railtie.rb
+1
-1
data/lib/serialize_with/version.rb
+1
-1
metadata
+1
-1
data/lib/serialize_with/railtie.rb
CHANGED
Viewed
@@ -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
data/lib/serialize_with/version.rb
CHANGED
Viewed
@@ -1,3 +1,3 @@
1
1
module SerializeWith
2
-
VERSION = "0.1.
5
"
2
+
VERSION = "0.1.
6
"
3
3
end
metadata
CHANGED
Viewed
@@ -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: