Sha256: c80ad53fd343ad46b3bacbbb5cf4e1cb405f2e3369bc7c41c02665cd586b4cf9
Contents?: true
Size: 487 Bytes
Versions: 9
Compression:
Stored size: 487 Bytes
Contents
module ActivityNotification module Association extend ActiveSupport::Concern class_methods do # Defines has_many association with ActivityNotification models. # @return [ActiveRecord_AssociationRelation<Object>] Database query of associated model instances def has_many_records(name, options = {}) has_many name, **options end end end end require_relative 'active_record/notification.rb' require_relative 'active_record/subscription.rb'
Version data entries
9 entries across 9 versions & 1 rubygems