photomix/app/models/collection.rb

6 lines
124 B
Ruby
Raw Normal View History

2009-06-03 01:33:39 +02:00
class Collection < ActiveRecord::Base
has_many :collection_albums
has_many :albums, :through => :collection_albums
end