Hi All (again)!

I started this thread with a set of requirements and conditions that I did not state in my original post. Among these are:

   1) The ultimate host will have a read-only file system which
   precludes use of paperclip's default filesystem storage, and;

   2) My client's business/legal reasons preclude the use of
   paperclip's S3 option.

   3) I have added the name(s) of the big columns in
   config.filter_parameters but that doesn't seem to change anything.


Pat Shaughnessy's attachment-in-database-column(s) update to paperclip (which works great, incidentally) does the job except for the cruft in the log when storing large files.

The cruft tends to make my life difficult when analyzing the log and seems to impact the speed during the time that the logfile is being written.

If I have to, I'll continue with the current implementation and put up with the aggravation hoping that production mode will stop most of it (have to figure out where to put the log file, too, due to the read-only fs).

Thanks,

Don Ziesig


On 1/11/2011 9:25 AM, Walter Lee Davis wrote:

On Jan 11, 2011, at 7:57 AM, Donald R. Ziesig wrote:

OOPS.... Filesystem is READ-only :-[

So use Paperclip and the S3 plugin, and have at it. You can write anything to S3, probably more files than you will ever have patience for.

Walter


On 1/11/2011 7:45 AM, Donald R. Ziesig wrote:
Filesystem is write-only.
On 1/11/2011 4:57 AM, Marnen Laibow-Koser wrote:
Don Ziesig wrote in post #973810:
Hi, All!

I have been looking for a way to eliminate the contents of certain
large (e.g. pdf files) database columns from my development (and
production) logs using RoR 3 with no luck.
Wait, you're storing PDF files in your DB? Stop doing that. Data like
that belongs in the filesystem.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.



--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to