search for: picturecontroller

Displaying 3 results from an estimated 3 matches for "picturecontroller".

2006 Jul 26
4
Upload File
I got this error: NoMethodError in PictureController#new You have a nil object when you didn''t expect it! The error occured while evaluating nil.uploaded_file= and the line code is here: @picture.uploaded_file = @params[''picture_file''] -- Posted via http://www.ruby-forum.com/.
2006 Feb 04
0
form_tag_with_upload_progress
hi all! i have a PictureController with an upload action: class PictureController < ApplicationController . . . upload_status_for :upload . . . def upload if params[:picture] @message = "File uploaded: " + params[:picture][:file].size.to_s picture = Picture.save(params[:picture]) session.update finish...
2006 Sep 08
4
Does acts_as_attachment :storage => :db_system work?
I found the post about needing to install acts_as_attachement_1_1_6 if you are not on edge rails. But I am having trouble getting db_system storage to work. As far as I can tell in from the database, things are working, but I don''t see how my model table hooks up with the db_files table so I am having trouble altering the image_tag from the tutorial