Sha256: af0aced02a9713227e0a9b89338456515c9385acb27ad8c0fac47914deb5d669

Contents?: true

Size: 238 Bytes

Versions: 13

Compression:

Stored size: 238 Bytes

Contents

class SubscriberGroup < ActiveRecord::Base
  validates_presence_of :title
  validates_uniqueness_of :title
  has_many :subscriber_group_members, :foreign_key => :group_id
  has_many :subscribers, :through => :subscriber_group_members
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
forge-cli-0.0.18 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.17 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.16 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.15 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.14 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.13 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.12 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.11 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.10 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.9 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.8 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.7 lib/forge/app/models/subscriber_group.rb
forge-cli-0.0.6 lib/forge/app/models/subscriber_group.rb