1 class User < ActiveRecord::Base
4 attr_accessor :sessionkey, :sessionkey_time, :notifications_limit, :notifications_number, :default_status
7 @notifications_limit = Hash.new(0)
8 @notifications_number = Hash.new(0)
11 @facebook_session ||= returning Facebooker::Session.create do |session|
12 session.secure_with!(session_key,facebook_id,1.day.from_now)