Rails is NOT a lightning fast web development tool
Discuss Rails is NOT a lightning fast web development tool in the Ruby Programming forum on Dev Shed. Rails is NOT a lightning fast web development tool Ruby and Ruby on Rails programming forum covering Ruby Tips and Tricks, Best Practices, and agile development with Ruby on Rails.
Posts: 1,303
Time spent in forums: 1 Month 1 Week 1 Day 7 h 33 m 23 sec
Reputation Power: 783
Rails is NOT a lightning fast web development tool
RoR makes you more productive?
I must disagree. Granted my environment may not have been the best, but I can follow directions and this is just absurd.
Ive got the following installed on this machine:
Fedora Core 6
Ruby Version 1.8.4
Gems Version 0.9.0
Rails Version 1.2.3
Everything said it installed fine. I start a new project (in fact i follow the exact directions laid out in the book "agile web development with rails" by the pragmatic programmers series, same guys who did the pick book.
Code:
rails demo
blamo i get all the files, looking good. I create a controller:
Code:
cd demo; ruby scripts/generate controller Say
No problems there either. I go into the file and add a hello method. I then create a template that has some html in it like so:
Code:
vi app/views/say/hello.rhtml
no problems there either. I start up the webserver called WEBrick, go to my ip at port 3000 and I get the welcome to RoR page (yea and apparently im on rails )
I was under the impression this was supposed to help me be more productive. With all the hubabaloo about rails, id expect a little more out of it than this. Ive already wasted 2 hours getting to this point .. the 'gems' interface is a piece of ... also.
__________________ Bugs that go away by themselves come back by themselves
Beware - your loyalty will not be rewarded
Posts: 665
Time spent in forums: 2 Weeks 31 m 38 sec
Reputation Power: 153
Those two wasted hours are what I call a "learning curve". Productivity boosts aren't measured by how quickly you get a "hello world" page running. If so, notepad would be king.
(EDIT: I'm graying this out, because I clearly didn't read your post thoroughly enough)
My guess is you forgot to add this to the "Say" controller:
Code:
def hello; end
...By the way, I doubt there's anyone here who cares if you continue to use Rails. If it's not working for you, ditch it.
Last edited by Joseph Taylor : May 9th, 2007 at 07:07 PM.
Posts: 366
Time spent in forums: 2 Days 3 h 16 m 51 sec
Reputation Power: 9
Actually, I think Rails is pretty damn nice. In two weeks I went from not knowing any rails at all to this .
Granted, its still very simple, I'm very proud of myself because all the kids I work with at school said I'd never get it done in the allotted time, but I did and I laughed at them.
__________________
I have summoned you here for a purpose
Posts: 9
Time spent in forums: 4 h 41 m 5 sec
Reputation Power: 0
Quote:
Originally Posted by amoo3
Actually, I think Rails is pretty damn nice. In two weeks I went from not knowing any rails at all to this .
Granted, its still very simple, I'm very proud of myself because all the kids I work with at school said I'd never get it done in the allotted time, but I did and I laughed at them.
I've checked you beta site, I like it. Considering you're new to RoR as I am, which book or tutorial was your primary source. I've just finished with "Ruby on Rails for Dummies" which answered a lot of the basics, now I'm after something with a bit more detail.
Posts: 366
Time spent in forums: 2 Days 3 h 16 m 51 sec
Reputation Power: 9
I started with Agile Dev. version 2, as many of my features are similar to those in the Depot program, but Google and various Rails forums helped alot too. I only got to about page 100-150 of Agile Dev. when I started, and I still have to finish the book.
http://www.railsforum.com/
is an awesome Rails forum. I've started about 10 topics in the last two weeks :P