Skip to content

Instantly share code, notes, and snippets.

@D3xx73r
Created June 30, 2012 19:36
Show Gist options
  • Save D3xx73r/3025223 to your computer and use it in GitHub Desktop.
Save D3xx73r/3025223 to your computer and use it in GitHub Desktop.
Complete code for mounted uploader
class Image < ActiveRecord::Base
attr_accessible :description, :image, :title
mount_uploader :image, ImagesUploader
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment