Frederick Cheung wrote: > On May 3, 2:09 pm, Fresh Mix <[email protected]> wrote: >> >> require 'rubygems' >> require 'raspell' >> >> def xxx >> speller = Aspell.new("ru_RU") >> speller.suggestion_mode = Aspell::NORMAL >> @xxx = speller.check("лошадь").to_s >> end >> > > If your script contains only those lines then this is normal - you've > defined an xxx method but you haven't called it. > > Fred
I have <%= @xxx %> on view, and it prints false. Also I have tested many words from model, and all was false. for row in @results if speller.check(row["word"]) ... I have this problen only with russian words, english works fine. -- 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 -~----------~----~----~----~------~----~------~--~---

