search for: image_upload

Displaying 4 results from an estimated 4 matches for "image_upload".

2005 Dec 31
2
Validation errors not displaying and will not save
...rticles #validation routines validates_presence_of :title protected def validate #doesn''t seem to work either, tried to force an erro up... errors.add(:title, "test validator") end end -------------- controller code blocks: -------------------- def image_upload @web_image = WebImage.new end def image_save @web_image = WebImage.new(params[:web_image]) if @web_image.save flash[:notice] = "Saved" else flash[:notice] = "Did not save " end redirect_to :action => ''image_upload''...
2006 Jun 22
3
Importing images with file_column over http?
I haven''t cracked the source of file_column just yet - but has anyone worked out a way to snag images via URL instead of a file upload? Optimally I''d like to have my clients be able to upload a file, or enter in a URL to store as file on the system. Any/all help would be cool. -- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part
2006 Feb 27
4
(resend - sorry!) Which controllers?
Hello, I have recently started learning RoR. I think it''s _fantastic_. I am absolutely blown away. OK, this is to prepare you to my idiotic question. Hopefully, I won''t be stoned. I am designing a simple application, where users can register, and: * Publish a photo album * Publish a simple blog with comments * Determine their list of friends and foes The application will
2006 Nov 20
7
Acts as attachement
Hi guys Question about acts as attachment still getting the following error undefined method `content_type'' I have set everything up according to the following page however i am still have trouble http://weblog.techno-weenie.net/articles/acts_as_attachment One thing, I have wanted to add this to an existing model in my system. I have not used the... script/generate