ref: master
plugins/admin_notifications/lib/ext/user.rb
1 2 3 4 5 6
require_dependency 'user' class User has_many :notifications_users, :class_name => 'AdminNotificationsPlugin::NotificationsUser' has_many :notifications, :through => :notifications_users end