ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   Article disparity
Date:   2005-01-25 18:27:27
From:   Swirlee
This is a great article, but I've discovered one small snafu. When I create the MyTest controller, it creates a my_text_controller.rb, just as the article says. However, when I add the "Hello World" method and browse to the URL in the article (localhost/MyTest/), I get an error (LoadError in MyTest#index). However, if I put an underscore in the URL, i.e. localhost/My_Test/, it works perfectly. I'm not sure if this is just an error in the article or if there's been a change in the Rails implementation, but it could bear correcting. FYI, I'm running Ruby 1.8.2 and Rails 0.9.5.

1 to 2 of 2
  1. Curt Hibbs photo Article disparity
    2005-01-30 00:20:45  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

  2. Curt Hibbs photo Article disparity
    2005-01-26 07:03:12  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

    • Curt Hibbs photo Article disparity
      2005-01-26 10:25:47  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

      • Article disparity
        2005-01-28 10:41:00  rakesh_goa [View]

        • Curt Hibbs photo Article disparity
          2005-01-28 10:56:48  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

          • Article disparity
            2005-02-26 00:47:35  coreman [View]

      • Article disparity
        2005-01-26 12:39:12  rubynewbie [View]

1 to 2 of 2