Sha256: 8d0e91b71ee498ca4e41f073d4a1da62068c639323a360c02b4f9494fdb4156b

Contents?: true

Size: 509 Bytes

Versions: 2

Compression:

Stored size: 509 Bytes

Contents

class Event < ActiveRecord::Base

  has_polygallery # :paperclip => {:styles => {:test => '100x200#'}}
  has_polygallery :custom_gallery,
    :association_names => {
      :gallery => :custom_gallery,
      :photos => :custom_photos },
    :paperclip => {:styles => {:custom => '500x500#'}}
  has_polygallery :gallery_with_altered_style,
    :association_names => {
      :gallery => :gallery_with_altered_style,
      :photos => :altered_photos },
    :paperclip => {:styles => {:medium => '100x200#'}}

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
polygallery-0.2.3 test/dummy/app/models/event.rb
polygallery-0.2.1 test/dummy/app/models/event.rb