Displaying 1 result from an estimated 1 matches for "id_thumb".
Did you mean:
__thumb
2006 Apr 17
8
file upload
...probably me having an issue with the mvc way of living.. .I''m
used to perl/php scripting...
I''ve got a photo blog I''m making... and in past iterations of this
website, I''d just name the photos after the id of the entry. For
instance:
/photos/id.jpg
/photos/id_thumb.jpg
However, I''m having trouble finding an easy way to do this with rails.
Everywhere I read either has an example of how to upload the file
directly into a database, or to use file_column. While file_column
looks nice and easy, it kind of bugs me that I''d have to create two...