attachment-fu - debug help

So I'm using attachment-fu and just before my attachments get saved,
it gets rolled back.

See here: http://pastie.caboo.se/165076

I find that I'm getting kicked down into my rescue clause here:
http://pastie.caboo.se/165074

I'm not exactly sure why this is happening - what generally causes
ActiveRecord to ROLLBACK my inserts?

Thanks,
Nik

hi all,

i’m working on a rails app that calls a ruby script which writes to $stdout. i’d like somehow intercept that text and write it in realtime (usuing ajax?) to the web browser. does anyone have general (or specific) hints about how to approach this?

i can’t change the code of the the called script, which is currently called using backticks.

thanks for any help!!

-reid

my apologies. i forgot to edit the subject line. question re-sent.