requiring the websocket lib file

This commit is contained in:
zhitomirskiyi 2010-12-28 19:53:45 -08:00
parent ddf95e2750
commit bd05e97c29

View file

@ -3,6 +3,7 @@
# the COPYRIGHT file. # the COPYRIGHT file.
# #
class Notification < ActiveRecord::Base class Notification < ActiveRecord::Base
require File.join(Rails.root, 'lib/diaspora/web_socket')
include Diaspora::Socketable include Diaspora::Socketable
belongs_to :recipient, :class_name => 'User' belongs_to :recipient, :class_name => 'User'