Am Freitag, den 24.03.2006, 11:47 -0600 schrieb Chris S.:
What question? Nothing quoted above was from me.
I wrote that one could use a single backup point as a reason to put
images in a database. Someone else wrote it could scale. I have no
and wouldn’t do it either. I just wrote it as a response to someone
wrote that he couldn’t think of another reason to do it.
Sorry for the confusion. I missed to quote you.
“Another reason for storing in the database is that you get a backup of
your whole system just by backing up the database. No need to include a
list of other directories.”
I thought you would suggest this way as an answer to the initial
question of Pete, what was:
"I’d like to allow users to upload images and store those images in a
Postgres database. I’ve looked through the example in “aguile
development with rails” which suggests using the MySQL blob field.
When I wrote a similar app in Java, we Base64 encoded the file and then
stored it as a text field. Is this easy to do in RoR too? Any advice
can give me would be greatly appreciated :)"
I did not realize the diferent context.