Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

Ruby on Rails™ Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps.”

Peter Cooper, Editor of Ruby Inside

Using Rails, developers can build web applications of exceptional elegance and power. Although its remarkable capabilities have made Ruby on Rails one of the world’s most popular web development frameworks, it can be challenging to learn and use. Ruby on Rails™ Tutorial, Second Edition, is the solution. Best-selling author and leading Rails developer Michael Hartl teaches Rails by guiding you through the development of your own complete sample application using the latest techniques in Rails web development. The updates to this edition include all-new site design using Twitter’s Bootstrap; coverage of the new asset pipeline, including Sprockets and Sass; behavior-driven development (BDD) with Capybara and RSpec; better automated testing with Guard and Spork; roll your own authentication with has_secure_password; and an introduction to Gherkin and Cucumber.

You’ll find integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, JavaScript, and SQL skills you’ll need when developing web applications. Hartl explains how each new technique solves a real-world problem, and he demonstrates this with bite-sized code that’s simple enough to understand, yet novel enough to be useful. Whatever your previous web development experience, this book will guide you to true Rails mastery.

This book will help you

  • Install and set up your Rails development environment

  • Go beyond generated code to truly understand how to build Rails applications from scratch

  • Learn test-driven development (TDD) with RSpec

  • Effectively use the Model-View-Controller (MVC) pattern

  • Structure applications using the REST architecture

  • Build static pages and transform them into dynamic ones

  • Master the Ruby programming skills all Rails developers need

  • Define high-quality site layouts and data models

  • Implement registration and authentication systems, including validation and secure passwords

  • Update, display, and delete users

  • Add social features and microblogging, including an introduction to Ajax

  • Record version changes with Git and share code at GitHub

  • Simplify application deployment with Heroku

Subscriber Reviews

Average Rating: 5 out of 5 rating Based on 4 Ratings

"Very good overral" - by JosephLi on 10-MAY-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Rails is huge and the book does a good job at getting readers familiar with the basic. And the emphasis on test first driven development is a plus.
Report as Inappropriate

"Clear and concise" - by aquraishi on 12-APR-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Very little fluff in this book and yet it is still clear. The author recommends some reference books which I also recommend for those not familiar with Ruby - like myself.

You can learn Ruby on Rails without knowing Ruby but it will help if you pick up a Ruby book and read it in parallel.

Knowledge of object-oriented programming concepts, preferably another OO language, is a must though IMHO.

I really enjoyed working through the examples. Thanks Michael!

Report as Inappropriate

"Excellent to start with rails 3" - by christophe on 20-DEC-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The book is excellent, one of the best programming book i've read so far. Everything is working nicely and you have a very good overwiew of what you can do with rails, plus it promotes TDD from the beginning.
Report as Inappropriate

"Very Good Tutorial" - by Raphael on 26-OCT-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is - in my opinion - the best way to learn runy on rails and its eco-system (from source control with git to deployment via heroku). Very well done!
Report as Inappropriate

Table of Contents

 

Extras

The publisher has provided additional content related to this title.


Description
Content

These links have been provided by the publisher.

  • Companion Web site