On 2 December 2013 20:50, yinwen Xuan <li...@ruby-forum.com> wrote: > Hi Colin, Thanks for your advice, > but I can't access to the rails server, only can edit the ruby script. > any chance you can check anything wrong with the If statement script?
What do you mean you only have access to the ruby script? The script you showed is in the view, which runs on the server. I am suggesting that you change it in the controller ruby script instead of the view ruby script. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtmMUSanTGjCd3vfmVtp%2BwgcN_Q%2BgP2Rnujtw7gWjfKMQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.