Sha256: fdc844f7a7c94a59275f1202dbc7d40e1e261de3203a90191ae3e3eb975c3d60

Contents?: true

Size: 185 Bytes

Versions: 6

Compression:

Stored size: 185 Bytes

Contents

module Picture
  extend ActiveSupport::Concern

  included do
    has_attached_file :picture, styles: {thumb: '256x256>'}, default_url: '/assets/pictures/thumb/missing.png'
  end

end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/models/concerns/picture.rb
gaku-0.0.3 core/app/models/concerns/picture.rb
gaku-0.0.2 core/app/models/concerns/picture.rb
gaku_core-0.0.2 app/models/concerns/picture.rb
gaku-0.0.1 core/app/models/concerns/picture.rb
gaku_core-0.0.1 app/models/concerns/picture.rb