photomix/app/models/collection.rb
2009-06-03 01:33:39 +02:00

6 lines
124 B
Ruby

class Collection < ActiveRecord::Base
has_many :collection_albums
has_many :albums, :through => :collection_albums
end