RubyGems
npm
Organizations
Log in
Sign up
RubyGems
acts_as_notifiable
Versions diffs
0.0.7 → 0.0.8
acts_as_notifiable 0.0.7 → 0.0.8
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/app/models/notification.rb
+1
-1
metadata
+1
-1
data/lib/app/models/notification.rb
CHANGED
Viewed
@@ -7,7 +7,7 @@ class Notification < ActiveRecord::Base
7
7
8
8
# Associations
9
9
belongs_to :notifiable, polymorphic: true
10
-
belongs_to :user
#,
counter_cache: true
10
+
belongs_to :user
,
counter_cache: true
11
11
12
12
def as_json(options=nil)
13
13
super(options || {
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: acts_as_notifiable
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
7
4
+
version: 0.0.
8
5
5
prerelease:
6
6
platform: ruby
7
7
authors: