lib/reviewed/product.rb in reviewed-0.0.8 vs lib/reviewed/product.rb in reviewed-0.0.9

- old
+ new

@@ -1,9 +1,10 @@ require 'reviewed/attachment' module Reviewed class Product < Base has_many :attachments + has_many :manufacturer_specs def attachments(tag=nil) if tag.present? @attributes.attachments.select do |attachment| attachment_tags = attachment.tags || []