I have this versions of soft - Ruby version 1.8.6 (i386-mswin32) RubyGems version 0.9.2 Rails version 1.2.3 Active Record version 1.15.3 Action Pack version 1.13.3 Action Web Service version 1.2.3 Action Mailer version 1.3.3 Active Support version 1.4.2 My problem in code that contains string like this (with russian language) - "привет мой друг" gets this error in some other place, not where russian string: app/controllers/sites/osp_ru.rb:40: syntax error, unexpected tIDENTIFIER, expecting ... if I comment it - all ok. Who can tell me where is a reason of the error? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Your description isn''t very... er, descriptive. Maybe it would help if you post a call stack. It is particularly confusing that you say that your problem is in code with the Russian string, then you immediately say that your problem is in another place, not where the Russian string is. I would post the call stack and maybe some code. What exactly do you comment out when it is "all ok"? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Trace stack: #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:488:in `load'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:488:in `load'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:488:in `load'' #{RAILS_ROOT}/app/controllers/process_controller.rb:151:in `run_process'' #{RAILS_ROOT}/app/controllers/process_controller.rb:150:in `each'' #{RAILS_ROOT}/app/controllers/process_controller.rb:150:in `run_process'' #{RAILS_ROOT}/app/controllers/process_controller.rb:147:in `each'' #{RAILS_ROOT}/app/controllers/process_controller.rb:147:in `run_process'' #{RAILS_ROOT}/app/controllers/process_controller.rb:22:in `run'' And some errors: app/controllers/sites/osp_ru.rb:40: syntax error, unexpected tIDENTIFIER, expecting '')'' frm.text_field( :id, "o_phone" ).set( post.c_tel ) ^ app/controllers/sites/osp_ru.rb:41: syntax error, unexpected tIDENTIFIER, expecting kEND frm.text_field( :id, "o_fax" ).set( post.c_fax ) ^ (errors from line 40 to 58, the Russian string in line 39) If I comment this string, I don''t get an this error, all works fine, but I need some russian text in the code. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---