Why this:
<%= foo("Русский") %>
works in 开发者_如何学JAVAview, but this:
foo("Русский")
doesn't work in helper ?
Error: syntax error, unexpected $end, expecting ')'
File's encoding is UTF-8.
Try to add this line (must be first line) in your helper file:
# coding: utf-8
精彩评论