Hi All,

I am new to Rails. I installed rails 3.2.13. Have Ruby ver. 1.9.2p20.
I created a very simple rails example as follows.

1. Created rails app called "chart"
2. Generated a controller called - "draw" that has the following lines
of code. It has a action called "load" which has no code in it.
class DrawController < ApplicationController
  def load
  end
end
3. I then navigated to following directory to create a view template of
extension - .rhtml
C:\rails\chart\app\views\draw\
4. I start Webrick and hit URL - "http://localhost:3000/draw/load";

I get the following error:
No route matches [GET] "/draw/load"
Try running rake routes for more information on available routes.

The above example is most basic i suppose and should work. The .rhtml
page just has plain html.

Can someone please tell me what could be the issue. I remember this
worked fine with previous rails version. Has anything changed?

Help much appreciated.

-- 
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 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/79820d7d6ba96117bd1b0b929cc80e44%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to