I want to allow the user to preview the posts they're making. Easy
enough to do with text and a single model. However, now I want to
allow posting of (multiple) attachments per post. My models:
class Post < ActiveRecord::Base
class Attachment < ActiveRecord::Base
has_attachment :content_type => :image,
The problem is I don't actually want to create new records in the
attachments table until the user submit the post, but I can't use all
the attachment_fu goodness to show the images in a preview unless I
create the attachments first. Suggestions?
Thanks in advance.