From bd05e97c2963653245f3b8d5dafbbc17b5e486f8 Mon Sep 17 00:00:00 2001 From: zhitomirskiyi Date: Tue, 28 Dec 2010 19:53:45 -0800 Subject: [PATCH] requiring the websocket lib file --- app/models/notification.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/notification.rb b/app/models/notification.rb index 14480536a..62d6ad840 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -3,6 +3,7 @@ # the COPYRIGHT file. # class Notification < ActiveRecord::Base + require File.join(Rails.root, 'lib/diaspora/web_socket') include Diaspora::Socketable belongs_to :recipient, :class_name => 'User'