file upload with attachment_fu in rails

165 Views Asked by At

My file upload is working fine on IE.

But it's returning "406 not acceptable" error on firefox.

Any solution?

1

There are 1 best solutions below

0
On BEST ANSWER

This worked for me.

before_filter :login_required, :except=>[:new, :create]