Site Archives file_column

Plugin: file_column


This is straight from the “file_column website”:http://www.kanthak.net/opensource/file_column/:
Just make the “image” column ready for handling uploaded files…
class Entry < ActiveRecord::Base
file_column :image
end … generate file fields *that keep uploaded images during form redisplays to your view…
<%= file_column_field “entry”, “image” %>
… and display uploaded images in your view:
<%= image_tag url_for_file_column(”entry”, “image”) %>
However, you may want [...]