now i'm using # encoding: utf-8
in every controller, where :notice message is not in latin
i've tried to put it in ApplicationController, tried to add <meta charset="utf-8">
at the top of application.html.erb, none worked, any help ?
EDIT: config.encoding = "utf-8" also set in application.rb
EDIT:
error appears with this code:
redirect_to root_url, :notice => "Вышли успешно"
and here's an error
:syntax error, unexpected $end, expecting '}' ..._or_to root_url, :notice => 'Вышли успешно.' }