search for: saving_images_to_the_database

Displaying 2 results from an estimated 2 matches for "saving_images_to_the_database".

2006 Apr 25
1
Validating format
Hi there, I am trying to upload a file and that is being done successfully. Now I want to restrict the uploading i.e. make it only doc/pdf upload. If anybody could help as how can I make that happen. The file is a part of my table and its called file_name. Thanks in advance. -- Posted via http://www.ruby-forum.com/.
2006 Mar 08
3
ActiveRecord and Images
Not really a Rails question, but a "best practices" one. If I want to associate an image to every account in my application, is it better to insert the image file directly inside the db or to upload the image in public/images/ ? Also, if I want to associate a cover to a movie, what''s the best approach ? TIA, ngw -- Nicholas Wieland nicholas_wieland@yahoo.it