Re: [Rails] Re: Fighting with Hello World

2010-01-09 Thread Curtis Schofield
This is a great suggestion: On Fri, Jan 8, 2010 at 2:21 PM, Alpha Blue wrote: > Len Haasbroek wrote: > > > I had a look again. > > When I create the controller I did it with Book, as the example said: > > C:\ruby\library\> ruby script/generate controller Book > > I used the netbeans IDE and said

[Rails] Re: Fighting with Hello World

2010-01-09 Thread Arun
Here is a simple screencast that creates a scaffold using NetBeans and runs on GlassFish: http://blogs.sun.com/arungupta/entry/screencast_26_develop_run_debug See if this helps. This screencast was created with NetBeans 6.5 RC2 & GlassFish v3 Prelude. And NetBeans 6.8 and GlassFish v3 are the lat

[Rails] Re: Fighting with Hello World

2010-01-08 Thread Len Haasbroek
Thanks Elric, I'm going to try your suggestions out over the weekend. Hopefully things will start coming together this side :) I will give feedback again. Regards, Len. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on

Re: [Rails] Re: Fighting with Hello World

2010-01-08 Thread Curtis Schofield
On Sat, Jan 9, 2010 at 12:36 AM, Len Haasbroek wrote: > Curtis Schofield wrote: > >> > > > I'm curious about what server you are using? > > I've installed the Netbeans package that comes with Glassfish version 3, > as well as Webrick. Glassfish runs on port 8080, and Webrick on 3000. > Both gave

[Rails] Re: Fighting with Hello World

2010-01-08 Thread Len Haasbroek
Curtis Schofield wrote: >> > I'm curious about what server you are using? I've installed the Netbeans package that comes with Glassfish version 3, as well as Webrick. Glassfish runs on port 8080, and Webrick on 3000. Both gave me the same trouble, so the problem wasn't the webserver part. --

[Rails] Re: Fighting with Hello World

2010-01-08 Thread Alpha Blue
Len Haasbroek wrote: > I had a look again. > When I create the controller I did it with Book, as the example said: > C:\ruby\library\> ruby script/generate controller Book > I used the netbeans IDE and said, please create controller Book, and I > got: > book_controller.rb > which I hope is right.

[Rails] Re: Fighting with Hello World

2010-01-08 Thread Len Haasbroek
Hello Marnen, Thank you for your thoughtful feedback. > > The default route is /:controller/:action , so it will try to find a > controller and action that match the URL (in this case, "/book/list"). > Unless you have a BookController (strange -- normal convention would be > BooksController) w

[Rails] Re: Fighting with Hello World

2010-01-07 Thread Marnen Laibow-Koser
Len Haasbroek wrote: > Hi Guys, > I've managed to install Ruby on Rails on Ubuntu 9.10, got it that up and > running, installed mysql as well. I use Netbeans 6.8 as the IDE, You probably want to drop that. NetBeans is a great IDE, but it's overkill for Rails. Rails does not really benefit from