I need to store uploaded files. For this I use a database table which holds the meta data for the file and I store the file on the filesystem, I add the path to a database row.
What is the best way to integrate this into a model?
I'd like the ActiveRecord model to handle the storing and retrieving automatically as if the upload was stored in the database itself.
What is the best way to implement this, are there perhaps applicable examples or extensions out there?
Thx
What is the best way to integrate this into a model?
I'd like the ActiveRecord model to handle the storing and retrieving automatically as if the upload was stored in the database itself.
What is the best way to implement this, are there perhaps applicable examples or extensions out there?
Thx