On 27 September 2014 07:51, Sai Ch <[email protected]> wrote: > Vivek Sampara wrote in post #1158518: >> if you should check it like >> >> if params[:choice].to_s == "1" >> #do something >> else >> #do something else >> end > > sorry Bro it won't work....
What do you mean it won't work? If you don't give us details of what is happening then we cannot help. We are not telepathic. 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvb4tNVMTQy88Z1eF_G2K%2B1H%3D-QVB5o1uBH_m5kk_Rxyw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

