azisaka (owner)

Revisions

  • ea0ae4 dookie Mon Dec 15 13:58:09 -0800 2008
  • 072156 dookie Fri Dec 12 14:43:52 -0800 2008
gist: 35305 Download_button fork
public
Public Clone URL: git://gist.github.com/35305.git
Embed All Files: show embed
photo.rb #
1
2
3
4
5
6
class Photo < ActiveRecord::Base
  has_attached_file :image,
                    :styles => { :thumb => "135x101#",
                                 :original => '640x480' },
                    :rounded => 10
end