5 lines
102 B
Ruby
5 lines
102 B
Ruby
class Tag < ActiveRecord::Base
|
|
has_many :photo_tags
|
|
has_many :photos, :through => :photo_tags
|
|
end
|