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:   Not working as advertised
Date:   2005-01-29 19:52:32
From:   pyellman
I followed this tutorial closely, first on Linux (Debian - as closely as possible) and then on MS Windows to confirm. Some things worked as advertised, with one major snafu: links were not generated correctly.


For example, when at location http://localhost:3000/Recipe/list, the link titled "New Recipe" points to http://localhost:3000/Recipe/list, and the link titled "Show" points to http://localhost:3000/Recipe/list/3 (should point to http://localhost:3000/Recipe/show/3).


Similarly, when at the index ("Recipe"), "Show" points only to http://localhost:3000/Recipe/5, and "New recipe" points only to http://localhost:3000/Recipe. Also, the action for adding a new recipe does not actually point to new.


I can do a show by manually entering in http://localhost:3000/Recipe/show/3. I can view (list) recipes in the database. Also, at some point early in following the tutorial, I was able to add 2 records.


Anybody else have a similar experience?


Peter Yellman


1 to 1 of 1
  1. Curt Hibbs photo Not working as advertised
    2005-01-30 00:15:59  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

    • Not working as advertised
      2005-01-30 08:52:18  pyellman [View]

      • Curt Hibbs photo Not working as advertised
        2005-01-30 09:26:50  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

        • Not working as advertised
          2005-01-30 10:42:56  pyellman [View]

          • Curt Hibbs photo Not working as advertised
            2005-01-30 17:01:38  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

            • Not working as advertised
              2005-02-01 16:30:57  pyellman [View]

            • Not working as advertised
              2005-02-01 02:18:19  coreman [View]

              • Curt Hibbs photo Not working as advertised
                2005-02-01 03:36:50  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

                • Not working as advertised
                  2006-11-07 05:24:27  rrcjab [View]

            • Not working as advertised
              2005-01-30 20:42:53  pyellman [View]

          • Not working as advertised
            2005-01-30 15:05:26  pyellman [View]

      • Not working as advertised
        2005-01-30 08:54:34  pyellman [View]

1 to 1 of 1