attachment-fu - debug help

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

See here:

I find that I'm getting kicked down into my rescue clause here:

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


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!!


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