Colin Law wrote: > On 18 May 2010 05:04, Orient Fang <[email protected]> wrote: >>> Are you absolutely certain that is the right cart.rb? Is that the >>> complete file? It looks ok to me. >>> >>> Colin >> >> Hi Colin, >> it is, I am sure. I'm wondering is there anywhere else cause the >> problem. > > There is something odd going on. I suggest you comment out the > contents of the file and add bits back in till it fails. Maybe you > have an unprintable character that is causing the problem. > > Colin
hi Colin I solved the problem, it's because I use the utf8 encoding for the new *.rb file. the default is the ANSI encoding. Thanks for you response -- 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.

