7stud -- wrote:
> Fresh Mix wrote:
>> Frederick Cheung wrote:
>>> You should have said that from the start :-). This points to an
>>> encoding problem, eg the default encoding used to read your source
>>
>> Database is in UTF-8, but it aslo doesn't work if word is in controller
>> sourse: speller.check("лошадь")
>>
>> So how can I test different encodings?
>
> What version of ruby are you using with rails? Are you using a
> different version of ruby for your irb tests?
I think, it is same, because I have only ruby 1.8.7 installed.
$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---