mike wrote in post #1109705: > On Tuesday, May 21, 2013 1:35:37 AM UTC-4, tamouse wrote: >> >>> case, >> > I looked at the guide and also entered: >> > get 'draw#load' >> > This is still not working. Can someone please send me a working example >> > or try similar thing themselves. I am really stuck on this. >> >> Maybe try: >> >> match 'draw/load' => 'draw#load' >> >> instead? >> > > I missed something in your original post. The above match statement > should > work with 3.2 for routing, but your view file needs to end in html.erb > for > embedded ruby, or haml. rhtml isn't recognized. I also echo Colin's > post, > there's a lot that has changed with Rails and spending some time with a > decent tutorial and/or the edge guides would ease the transition > considerably.
Hi Mike, Yes the issue was that i was using a .rhtml file. I created .erb and it worked :) Thanks a lot all for helping out. -- 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 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/b2b7e53a4959bf2715a237221b2c3109%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.

