From f05f0e1d723699285ab048f2611eb0b6aebf1bda Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Tue, 11 Mar 2014 19:44:30 +0600 Subject: [PATCH] [#345] fix activity concern --- app/models/concerns/feed/user.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/models/concerns/feed/user.rb b/app/models/concerns/feed/user.rb index cfc2aed00..66b7ff111 100644 --- a/app/models/concerns/feed/user.rb +++ b/app/models/concerns/feed/user.rb @@ -8,10 +8,9 @@ module Feed::User private def new_user_notification - ActivityFeed.create( - user: self, + activity_feeds.create( kind: 'new_user_notification', - data: {user_name: self.user_appeal, user_email: self.email} + data: { user_name: user_appeal, user_email: email } ) end