Live data from Hacker News

Ruby on Rails Tutorial, 2nd edition

news.railstutorial.org

11–20 of 37 posts

Re: Ruby on Rails Tutorial, 2nd edition

#11
post #6

Went through this recently and it's great. Bootstrap is a nice addition -- I know people complain about too many Bootstrap sites, but developing something that looks good right off the bat is highly satisfying. The only problem I ran into is that when using spork and guard, the test environment didn't always get reloaded (not sure if I recall the exact conditions in which that happened) and so I got some unexpected e…

The Spork caveat is mentioned in the book (http://ruby.railstutorial.org/chapters/static-pages#code:rsp...):

One word of advice when using Spork: after changing a file included in the prefork loading (such as routes.rb), you will have to restart the Spork server to load the new Rails environment. If your tests are failing when you think they should be passing, quit the Spork server with Control-C and restart it.

That doesn't mean you won't end up on Stack Overflow, though. I end up there all the time myself, and I wrote the damn thing.

Re: Ruby on Rails Tutorial, 2nd edition

#12
post #10

I purchased the first edition, any upgrade plan?

Check your email for a coupon code. As far as upgrading the app itself, so much has changed that I recommend starting from scratch. (It'll go much faster the second time around.)

My bad, just checked my e-mail. Thanks!

Re: Ruby on Rails Tutorial, 2nd edition

#13
post #11
post #6

Went through this recently and it's great. Bootstrap is a nice addition -- I know people complain about too many Bootstrap sites, but developing something that looks good right off the bat is highly satisfying. The only problem I ran into is that when using spork and guard, the test environment didn't always get reloaded (not sure if I recall the exact conditions in which that happened) and so I got some unexpected e…

The Spork caveat is mentioned in the book ( http://ruby.railstutorial.org/chapters/static-pages#code:rsp... ): One word of advice when using Spork: after changing a file included in the prefork loading (such as routes.rb), you will have to restart the Spork server to load the new Rails environment. If your tests are failing when you think they should be passing, quit the Spork server with Control-C and restart it. Th…

That doesn't mean you won't end up on Stack Overflow, though. I end up there all the time myself, and I wrote the damn thing.

If that was eliminated, than spork would be an absolute no brainer.

Re: Ruby on Rails Tutorial, 2nd edition

#15
Beginner here, I'm a mechanical engineer with very little experience with programming. I tried to follow the book this week but found it little bit difficult to follow. Question: Should I go learn the basics of Ruby first or should I power through hoping to learn everything along the way? If you think that I should learn the basics first, would you recommend learnrubythehardway or something else? Thanks in advance!

Re: Ruby on Rails Tutorial, 2nd edition

#16
post #15

Beginner here, I'm a mechanical engineer with very little experience with programming. I tried to follow the book this week but found it little bit difficult to follow. Question: Should I go learn the basics of Ruby first or should I power through hoping to learn everything along the way? If you think that I should learn the basics first, would you recommend learnrubythehardway or something else? Thanks in advance!

If you're finding the programming challenging, I recommend Beginning Ruby by Peter Cooper.

Re: Ruby on Rails Tutorial, 2nd edition

#19
post #15

Beginner here, I'm a mechanical engineer with very little experience with programming. I tried to follow the book this week but found it little bit difficult to follow. Question: Should I go learn the basics of Ruby first or should I power through hoping to learn everything along the way? If you think that I should learn the basics first, would you recommend learnrubythehardway or something else? Thanks in advance!

Are you specifically trying to learn Ruby on Rails? Or just programming/just web development?

Re: Ruby on Rails Tutorial, 2nd edition

#20
post #15

Beginner here, I'm a mechanical engineer with very little experience with programming. I tried to follow the book this week but found it little bit difficult to follow. Question: Should I go learn the basics of Ruby first or should I power through hoping to learn everything along the way? If you think that I should learn the basics first, would you recommend learnrubythehardway or something else? Thanks in advance!

Are you specifically trying to learn Ruby on Rails? Or just programming/just web development?

Yes, ruby on rails. Learning to start on a webapp project I have in mind. The reason I want to learn ruby on rails as oppose to PHP or Phython is because my friend/partner is more comfortable using ruby on rails. Therefore, in order to collaborate with him, I should learn ruby on rails. Having said all that, I would still like to hear your opinion on what language I should start on.. if you have one. Thanks.
Post reply on HN