Some free Rails Tutorial screencasts

I've just released some free screencasts on Rails installation, advanced setup, and Sublime Text 2. All three are available on YouTube here:

You can also download all three screencasts as a ZIP file.

I'm especially pleased with the final of the three, which really shows off the power of the excellent (and cross-platform!) Sublime Text 2 editor. Check it out here.

Confusing coupons

A commenter at Hacker News noted that there have been a lot (perhaps too many) Rails Tutorial coupon codes recently. I may have gotten carried away with this last one, but I hate DRM so much that I really wanted to do something about it. Please email me directly (admin@railstutorial.org) if you have any complaints and I'll do what it takes to make things right.

International Day Against DRM Rails Tutorial discount

The Ruby on Rails Tutorial is 100% DRM-free and always will be. In honor of the International Day Against DRM, from today (2012-05-04) through noon tomorrow (PDT) you can use the coupon code IH8DRM to get 40% off any combination of Rails Tutorial products—because I hate DRM as much as you do. (HT: O'Reilly.)

Ruby on Rails Tutorial, 2nd edition

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.

I'm pleased to announce the availability of the Ruby on Rails Tutorial, 2nd Edition PDF. This new edition has been specially optimized for e-readers such as Kindle and iPad; you can download a sample PDF here:

http://railstutorial.org/samples?file=rails_tutorial_2nd_edition_sample.pdf

Here's what's new in the 2nd edition:

http://railstutorial.org/#new

I'd especially like to thank the many readers who reported errors in the online version of the 2nd edition.

I'd also like to announce the launch of access to the 2nd edition screencasts. Right now this consists of Lessons 1 & 2, along with two short screencasts on installation and advanced setup. Anyone who buys the screencasts now will get each new screencast as it's produced, as well as the 1st edition screencasts in their entirety. I'm planning to increase the price to $125 once they're done, but until then they are available for $95. You can find them on the Rails Tutorial home page:

http://railstutorial.org/

I'm offering a 20% discount using the coupon code "rt2ndEd" (expires at the end of April).

As a heads-up, progress on the new screencasts will probably be slow for the next week or so, as I'll be in Austin, Texas, for RailsConf 2012. I'll be speaking on Monday afternoon (4/23) on "Rails-flavored Ruby" (based on Chapter 4 of the Rails Tutorial book), and I'll be around through the end of the conference. If any of you will be in attendance and would like to make good on the book's Beerware License, now's your chance. ;-)

Rails 3.2.3 update

I've updated the Ruby on Rails Tutorial to use Rails 3.2.3. For the short version of what this means for Rails Tutorial readers, see my recent comment on Hacker News. For the long version, see the latest version of the book.

A behind-the-scenes look at the Rails Tutorial

As part of gearing up for full screencast production and as a teaser for what's to come, I've made a short screencast with a special behing-the-scenes look at how I produce both the Rails Tutorial sample app and the Rails Tutorial book itself. You can find it on YouTube here. (For best viewing, increase the resolution to HD and run it in full-screen mode.)

Rails Tutorial sample screencast video (timely feedback requested)

I'm gearing up for production on the second edition of the Rails Tutorial screencasts, and I've posted a sample video showing the setup I'm planning to use. I'm going to start screencasting within a few days, so now's your chance to give me feedback (at admin@railstutorial.org) before the screencast train leaves the station.

Here's the sample video:

Rails Tutorial 2nd edition sample video

Update: I've also included a second video at a slightly different resolution.

These are some of the items I'd like to get feedback on:

  • Video. Is the video crisp? Are the size and format OK?
  • Sound. Is the sound clear? Is the volume good?
  • Screen resolution. The video's resolution is 1344x756, which uses the standard HD aspect ratio of 16:9 while still fitting on the screen of my MacBook Air. Let me know if it doesn't look good on your system. (If this resolution doesn't work, I might have to buy a new computer, which I'd really rather avoid…)
  • Applications and workflow. I'm planning to use iTerm and Sublime Text as the principal development tools. I'm 95% likely to stick with those, but let me know if you violently disagree with either choice. Note: The main reason for switching to Sublime Text from TextMate (the editor used in the first edition) is that it's comparably good while also being cross-platform.
  • The video includes some other details, so please watch it all the way through if you're planning to comment. (It's about 11 minutes long.)

Any other observations or suggestions are greatly appreciated (admin@railstutorial.org), especially if they arrive within the next couple of days. Thanks!

Rails Tutorial 2nd edition sample video

The Ruby on Rails Tutorial, now with Twitter's Bootstrap

Due to popular demand, I have prepared a new version of the Ruby on Rails Tutorial using Twitter's Bootstrap framework. The result, which represents the final draft of the 2nd edition, can be found here:

http://railstutorial.org/book?version=3.2

This is a substantial revision, involving significant code changes, new mockups, and new screenshots. As usual, bug and typo reports are welcome (admin@railstutorial.org). Once it looks like the kinks have been worked out, I'll release a full PDF of the 2nd edition.

I'd like to thank reader Colm Tuite for his excellent work in helping to convert the book's sample app to Bootstrap. I'd also like to thank Thomas McDonald for his outstanding work on the bootstrap-sass gem.

Since some readers might find themselves stuck in the middle of the pre-Bootstrap version, I have included a copy here:

http://railstutorial.org/book?version=3.1

Otherwise, I suggest using the latest version:

http://railstutorial.org/book?version=3.2

Thanks to all those who encouraged me to make this change. It was a lot of work, but based on reader feedback I'm confident that it's the right move. Bootstrap is an excellent CSS and UI framework, and I'm excited to have it be part of the Rails Tutorial.

A full draft of the Ruby on Rails Tutorial, 2nd Edition, is now available

A full draft of the Ruby on Rails Tutorial, 2nd Edition, is now available. This draft includes previously unreleased versions of Chapter 10, "User microposts", and Chapter 11, "Following users". (As noted in the original announcement, the new edition has eleven chapters, whereas the first edition had twelve, with a bonus Chapter 13 on Rails 3.1. Since the new edition is based on Rails 3.2, the bonus chapter is superfluous, and the new has_secure_password method allowed further consolidation from twelve chapters down to eleven.)

I'd like to thank again all the readers who have reached out with suggestions and bug reports. Please keep them coming. Once people have had time to read the newly released chapters, I plan to incorporate new feedback and then begin offering PDF sales of the new edition, which should happen within a few weeks. I also plan to start producing the new screencast series shortly. As noted before, these new products will be paid upgrades, but current customers will receive coupon codes good for substantial discounts. For answers to other Frequently Asked Questions, please see the FAQ in the original announcement.

About

This is the news feed for Ruby on Rails Tutorial by Michael Hartl, the best place to learn Rails. Visit the main website for more information about the project. You should subscribe to the news feed and follow Rails Tutorial on Twitter for all the latest updates.

Subscribe via RSS »