file upload with attachment_fu in rails

149 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 answers

0
krunal shah On BEST ANSWER

This worked for me.

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