Sha256: 5c1c8545e4d98c7cd3ba924fc79c1fe802e99243b9586e645d6037b459d65c7b
Contents?: true
Size: 485 Bytes
Versions: 18
Compression:
Stored size: 485 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
18 entries across 18 versions & 1 rubygems