Plugin: file_column

Published on

This is straight from the “file_column website”: Just make the “image” column ready for handling uploaded files… [source:ruby] class Entry < ActiveRecord::Base file_column :image end [/source]… 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”, … Continue reading Plugin: file_column