search for: 164x164

Displaying 1 result from an estimated 1 matches for "164x164".

Did you mean: 16464
2007 Apr 21
3
attachment_fu thumbnails
...ialize_by_thumbnail_and_parent_id'' for Photo:Class my code is: class Photo < ActiveRecord::Base has_attachment :content_type => :image, :storage => :file_system, :max_size => 1.megabyte, :thumbnails => { :thumb => ''164x164>'' } end create_table :photos do |t| t.column :filename, :string t.column :posted_on, :datetime t.column :description, :text t.column :name, :string end def create @photo = Photo.new(params[:photo]) if @photo.save redirect_to :action => ''list'' els...