Sha256: 1a6e5691ae390f1050972c50221404adaf7add73acc51fd821ea21bb0b3d69bf

Contents?: true

Size: 708 Bytes

Versions: 4

Compression:

Stored size: 708 Bytes

Contents

# rake db:seed:c80_album_gallery_fill_props

C80AlbumGallery::Prop.delete_all
C80AlbumGallery::Prop.create!({
                                  thumb_lg_width: 640,
                                  thumb_lg_height: 400,

                                  thumb_md_width: 320,
                                  thumb_md_height: 200,

                                  thumb_sm_width: 80,
                                  thumb_sm_height: 50,

                                  thumb_preview_width: 250,
                                  thumb_preview_height: 164

                              })

=begin
p = C80AlbumGallery::Prop.first
p.thumb_preview_width = 250
p.thumb_preview_height = 164
p.save!
=end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
c80_album_gallery-0.1.0.4 db/seeds/c80_album_gallery_fill_props.rb
c80_album_gallery-0.1.0.3 db/seeds/c80_album_gallery_fill_props.rb
c80_album_gallery-0.1.0.2 db/seeds/c80_album_gallery_fill_props.rb
c80_album_gallery-0.1.0.1 db/seeds/c80_album_gallery_fill_props.rb