Live data from Hacker News

Ruby on Rails Tutorial, 2nd edition

news.railstutorial.org

1–10 of 37 posts

Re: Ruby on Rails Tutorial, 2nd edition

#2
tl;dr: The Rails Tutorial 2nd edition PDF is out; early access to the 2nd edition screencasts is open; use the code "rt2ndEd" through the end of April to get a 20% discount. Go to http://railstutorial.org/ for more information.

By the way, I finally broke down and got an iPad (way overdue, I know), which finally motivated me to fiddle with the Rails Tutorial PDF fonts. The result (14pt for the main text and ~10pt for tables and code samples) was a bit tricky to achieve, but it looks good on a Kindle and great on an iPad. Someday I may go to the trouble of making ePub and mobi formats as well, but for now the PDF is smokin'.

Re: Ruby on Rails Tutorial, 2nd edition

#4
post #3

How are the 2nd edition screencasts going to differ from the first edition ones?

From http://ruby.railstutorial.org/#new:

    Fully updated for Rails 3.2 and Ruby 1.9
    All-new design using Twitter's Bootstrap
    Coverage of the new asset pipeline, including Sprockets & Sass
    Behavior-driven development (BDD) with Capybara & RSpec
    Better automated testing with Guard & Spork
    Roll your own authentication with has_secure_password
    An introduction to Gherkin & Cucumber
I've also converted to a two-pane editor setup using Sublime Text 2, which is especially nice for TDD. See http://youtu.be/REuxSzMtcJA for a sample video.

Re: Ruby on Rails Tutorial, 2nd edition

#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 errors/test failures on occasion (resolved by restarting spork/guard). There's a stack overflow entry on this, iirc.

Re: Ruby on Rails Tutorial, 2nd edition

#7
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 thing I like most about using bootstrap together with less is just how easy it is to override the default styles. You can use bootstrap just to get something in the ballpark, and then just tweak it to get to something that's final.
Post reply on HN