Live data from Hacker News

The Ruby on Rails Tutorial, 2nd Edition (full draft)

ruby.railstutorial.org

21–30 of 48 posts

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#22
post #12
post #10

Earlier quoted context omitted.

What's the developer version? I was thinking about using the less-rails-bootstrap gem.

I can't speak for everyone, but I know quite a few who prefer the SASS port over less-bootstrap-rails (bootstrap-sass)

I went the less port because it was being upgraded quicker with the 2.0 release. I've used both and they are both great gems. Both function pretty similar so don't be afraid of the LESS version, its still supported in the assets pipeline!

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#23
post #15

I've been learning Rails from your tutorial (just finished Chapter 11), but realised a few days ago that I've been using the 3.0 version. It'd be great to see an appendix on "Transitioning to 3.2 for first edition readers" (probably like the one you've got for 3.0 -> 3.1, but I haven't got to reading that yet.) And while I'm here, there is a bug in the 3.0 edition in section 11.3.4, listing 11.39. The link_to "delete…

Oops, you're right. That's actually a new bug, and has now been fixed. As far as the transition goes, that's a great candidate for a blog post, but it's not as good a fit for a book. Plus, experience shows that starting from scratch often takes less time in the end.

Fair enough. My current plan when I've finished is to rewrite my collaborative blogging platform in Ruby (was Google App Engine + Python). It's got enough similarities to a twitter clone that I can base a lot of the infrastructure on railstutorial, but enough differences that I will definitely start from scratch rather than trying to modify the codebase. I guess I should move to rails 3.2 at the same time, and whizz through your new version in parallel.

Thanks for fixing the bug.

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#24
Not sure if you are aware of this...for the first edition of your tutorial, webrat is required for many of the tests (I tested on ubuntu/windows), but inclusion of webrat will actually break some of the new tests (like those using have_selector) in the second edition. You might want to add a warning to those who have followed the first edition and are trying to incorporate the additions in the second edition.

Re: The Ruby on Rails Tutorial, 2nd Edition (full draft)

#25
Is there a change log or something of the sort? I am actually half way through chapter 4 and looking back I see some differences between what I've already done and what is presented on the site, just want to make sure I'm either not missing things or what I've already written is ok to continue with.
Post reply on HN