Sha256: 324b2a2816e2929a1ce3b76ee752aab388de59c16e2147d2d097faa167697dd2

Contents?: true

Size: 433 Bytes

Versions: 42

Compression:

Stored size: 433 Bytes

Contents

# == Schema Information
#
# Table name: aggregation_feeds
#
#  id             :integer(4)      not null, primary key
#  aggregation_id :integer(4)
#  feed_id        :integer(4)
#  feed_type      :string(255)     default("Feed")
#

class AggregationFeed < ActiveRecord::Base
  belongs_to :aggregation, :counter_cache => 'feed_count', :touch => true
  belongs_to :feed
  validates_uniqueness_of :feed_id, :scope => :aggregation_id
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
muck-services-3.3.3 app/models/aggregation_feed.rb
muck-services-3.3.2 app/models/aggregation_feed.rb
muck-services-3.3.1 app/models/aggregation_feed.rb
muck-services-3.3.0 app/models/aggregation_feed.rb
muck-services-3.2.2 app/models/aggregation_feed.rb
muck-services-3.2.1 app/models/aggregation_feed.rb
muck-services-3.2.0 app/models/aggregation_feed.rb
muck-services-3.1.1 app/models/aggregation_feed.rb
muck-services-3.1.0 app/models/aggregation_feed.rb
muck-services-0.1.47 app/models/aggregation_feed.rb
muck-services-3.0.0 app/models/aggregation_feed.rb
muck-services-0.1.46 app/models/aggregation_feed.rb
muck-services-0.1.45 app/models/aggregation_feed.rb
muck-services-0.1.44 app/models/aggregation_feed.rb
muck-services-0.1.43 app/models/aggregation_feed.rb
muck-services-0.1.42 app/models/aggregation_feed.rb
muck-services-0.1.41 app/models/aggregation_feed.rb
muck-services-0.1.40 app/models/aggregation_feed.rb
muck-services-0.1.39 app/models/aggregation_feed.rb
muck-services-0.1.38 app/models/aggregation_feed.rb