Fixing content-type on Rails mode submit.