I want to be able to edit the uploaded images from attachment_fu. In my view I do something like this:
<p> <b>Cover</b><br /> <%= f.file_field :cover %> </p>
and then in my controller, I do something like
@book = Book.new(params[:book].except(:author_ids, :cover)) if !params[:book][:cover].instance_of? String @cover = Cover.create!(:uploaded_data => params[:book][:cover], :book_id => @book.id) end
I just wanted to know if this is the best way to do this or if there is something I am missing