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

Version Path
activity_notification-2.1.4 lib/activity_notification/orm/active_record.rb
activity_notification-2.1.3 lib/activity_notification/orm/active_record.rb
activity_notification-2.1.2 lib/activity_notification/orm/active_record.rb
activity_notification-2.1.1 lib/activity_notification/orm/active_record.rb
activity_notification-2.1.0 lib/activity_notification/orm/active_record.rb
activity_notification-2.0.0 lib/activity_notification/orm/active_record.rb
activity_notification-1.7.1 lib/activity_notification/orm/active_record.rb
activity_notification-1.7.0 lib/activity_notification/orm/active_record.rb
activity_notification-1.6.1 lib/activity_notification/orm/active_record.rb
activity_notification-1.6.0 lib/activity_notification/orm/active_record.rb
activity_notification-1.5.1 lib/activity_notification/orm/active_record.rb
activity_notification-1.5.0 lib/activity_notification/orm/active_record.rb
activity_notification-1.4.4 lib/activity_notification/orm/active_record.rb
activity_notification-1.4.3 lib/activity_notification/orm/active_record.rb
activity_notification-1.4.2 lib/activity_notification/orm/active_record.rb
activity_notification-1.4.1 lib/activity_notification/orm/active_record.rb
activity_notification-1.4.0 lib/activity_notification/orm/active_record.rb
activity_notification-1.3.0 lib/activity_notification/orm/active_record.rb