Added thin to Gemfile + flash gets emptied before ajax response