ActionDispatch::Cookies::CookieOverflow

224 views
Skip to first unread message

erwin

unread,
Jun 7, 2012, 10:51:56 AM6/7/12
to Paperclip Plugin
once my record is saved with attachment , just before the redirect, I
wrote

params[:article][:photo].tempfile = nil if params[:article]
[:photo] && !params[:article][:photo].tempfile.nil?

to cleanup the temp file .. otherwise I I get a 'cannot dump '
error ...

but I got this error ...
why the paperclip wrap up process is not so straight ?
is there anything to take care ?
( using Rails 3.2.2 , Ruby 1.9.3 , Paperclip 3.0.4

thanks for feedback


erwin

unread,
Jun 8, 2012, 7:12:29 AM6/8/12
to Paperclip Plugin
[SOLVED] using config.session_store :active_record_store rather than
cookies..
I guess this is mandatory .. but could not find any explanation ....
( uploading a simple picture ... )
Reply all
Reply to author
Forward
0 new messages