Sha256: b4581c2f2289e1e20975c9a3a0f8c2f5c4b6f54f2a0a3d137c272ca081cf76dc
Contents?: true
Size: 233 Bytes
Versions: 4
Compression:
Stored size: 233 Bytes
Contents
class << ActiveRecord::Base def receives_notifications has_many :notifications, -> { preloaded }, :class_name => 'NotifyOn::Notification', :as => :recipient, :dependent => :destroy end end
Version data entries
4 entries across 4 versions & 1 rubygems