On May 9, 9:28 pm, Kamal Nandan <rails-mailing-l...@andreas-s.net>
wrote:
> Hi,
>
> I am trying to create the sample application as mentioned at the
> following link:http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=2
>
> But the example doesnt seem to work.
> I am following the exact steps as mentioned on the above page and type
> the following at the command line(as mentioned in the example)
> ruby script\generate controller MyTest
>
> Then after doing this I go to the browser and type the following in the
> address window:http://127.0.0.1:3000/MyTest/
>
These days you would need to go to http://127.0.0.1:3000/my_test

You're following a tutorial that is over 4 years old. A lot has
changed. A good starting place would be the guides on
guides.rubyonrails.org

Fred

> But the response that I get is:
> --------------------------------------------------------------------------
> "We're sorry, but something went wrong.
> We've been notified about this issue and we'll take a look at it
> shortly."
> ---------------------------------------------------------------------------
>
> Plz note that when i do "http://127.0.0.1:3000/"; a web page is opening
> correctly. but not when i do "http://127.0.0.1:3000/MyTest/";
>
> What could be the possible reason and whats the fix. I am a beginner and
> started learning RoR today itself with this first example.
> Any help will be greatly appreciated.
>
> Thanks & Regards,
> Kamal
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to