I’ve been fighting with myself over this for the past week, and would
like to hear some others’ thoughts on the subject. I essentially have
the following models in place:
class Item < ActiveRecord::Base
class Image < ActiveRecord::Base
file_column_fields for uploading multiple images. The problem I’m facing
is in the controller. What is the best method for getting all of these
files through the has_many and into file_column? I’ve tried a number of
variations on Image.new to no avail.
I know someone out there on the interweb has been through this before,
but the docs for file_column are terrible and the author doesn’t answer
his email (despite my desperate jumping through his anti-spam hoops).