You are on page 1of 13

VeryPDF Software Demo Version (http://www.verypdf.

com)

RUBY ON RAILS TUTORIAL (3RD ED.)


L e a r n

W e b

D e v e l o p m e n t

Michael Hartl

n
o
i
s
r
e
V
o
m
De
BOOK INFO

CONTACT AUTHOR

SINGLE PAGE
FRO NTMATTER

BUY NOW

DOWNLOAD PREVIEWS

Frontmatter

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)

n
o
i
s
r
e
V
o
m
De
powered by

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)

READ O NLINE FREE

RUBY ON RAILS TUTORIAL (3RD ED.)


L e a r n

W e b

D e v e l o p m e n t

n
o
i
s
r
e
V
o
m
De
Michael Hartl

The Ruby on Rails Tutorial book and screencast series teach you how to develop and deploy real, industrial-strength web
applications with Ruby on Rails, the open-source web framework that powers top websites such as Twitter, Hulu, GitHub, and
the Yellow Pages. The Ruby on Rails Tutorial book is available for free online and is available for purchase as an ebook (PDF,
EPUB, and MOBI formats). The companion screencast series includes 12 individual lessons, one for each chapter of the Ruby on
Rails Tutorial book. All purchases also include a free copy of the Solutions Manual for Exercises, with solutions to every exercise
in the book.

BUY NOW

Share this book

FREE PREVIEWS

CONTACT AUTHOR

STAY UP TO DATE!
Joining the email lis t for this book will allow the author to c ontac t you to let you
know about s pec ial offers and when updates for the book are available.

YOUR EMAIL ADDRESS

VeryPDF Software Demo Version (http://www.verypdf.com)

FOL L OW BOOK

VeryPDF Software Demo Version (http://www.verypdf.com)

PRICING OPTIONS

$39.00

PURCHASE

HTML, EBOOK, AND SOLUTIONS MANUAL


DRM-free copies of the Ruby on Rails Tutorial 3rd Edition ebooks in EPUB, MOBI, and PDF formats
Over 700 pages of content

n
o
i
s
r
e
V
o
m
De

Fully updated for the latest version of Rails

Free copy of the Solutions Manual for Exercises, with solutions to every exercise in the book (HTML, EPUB, MOBI, and PDF)

BUNDLED ITEMS

RUBY ON RAILS TUTORIAL SOLUTIONS MANUAL FOR


EXERCISES
HTML & Ebook

$149.00

PURCHASE

HTML, EBOOKS, AND SCREENCAST VIDEOS


The full Ruby on Rails Tutorial screencast series (3rd edition)
12 screencast lessons (one for each chapter), with more than 15 hours of downloadable HD video (see the teaser trailer or view a free sample lesson)

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)


DRM-free copies of the 3rd Edition Ruby on Rails Tutorial ebooks
Fully updated for the latest version of Rails
Free copy of the Solutions Manual

BUNDLED ITEMS
RUBY ON RAILS TUTORIAL SOLUTIONS MANUAL FOR
EXERCISES
HTML & Ebook

$299.00

PURCHASE

n
o
i
s
r
e
V
o
m
De

HTML, EBOOKS, SCREENCAST VIDEOS, ALL PREVIOUS VERSIONS


The full Ruby on Rails Tutorial screencast series (3rd edition)

DRM-free copies of the 3rd Edition Ruby on Rails Tutorial ebooks


Free copy of the Solutions Manual

Copies of all previous versions of the Ruby on Rails Tutorial ebooks (Rails 4.0 version, 2nd edition, 1st edition, Rails 2.3 version)
Copies of all previous editions of the Ruby on Rails Tutorial screencasts (4.0 supplement, 2nd edition, 1st edition)
Over 2000 pages of content and over 40 hours of video

BUNDLED ITEMS
RUBY ON RAILS TUTORIAL SOLUTIONS MANUAL FOR
EXERCISES
HTML & Ebook

RUBY ON RAILS TUTORIAL (4.0 VERSION & 2ND ED.)


HTML, Ebooks, and Screencasts

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)

ABOUT THE AUTHOR

Michael Hartl

Michael Hartl is the author of the Ruby on Rails Tutorial, one of the leading introductions to web development, and
is a cofounder of the Softcover self-publishing platform. His prior experience includes writing and developing
RailsSpace, an extremely obsolete Rails tutorial book, and developing Insoshi, a once-popular and now-obsolete
social networking platform in Ruby on Rails. In 2011, Michael received a Ruby Hero Award for his contributions to
the Ruby community. He is a graduate of Harvard College, has a Ph.D. in Physics from Caltech, and is an alumnus
of the Y Combinator entrepreneur program.

TESTIMONIALS

n
o
i
s
r
e
V
o
m
De

David Heinemeier Hansson - Founder & CTO, Basecamp; Creator, Ruby on Rails
3rd edition of @mhartls much celebrated The Ruby on Rails Tutorial is out in draft:
http://news.railstutorial.org/rails_tutorial_3rd_edition/ looks like a great upgrade!
[source]

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)

Jimmy Wales - Founder, Wikipedia


Q: What is Jimmy Waless favorite book?
A: It changes often. At the moment, its Ruby on Rails Tutorial by Michael Hartl. :)
[source]

Derek Sivers - Entrepreneur, programmer


My former company (CD Baby) was one of the first to loudly switch to Ruby on Rails, and then even more loudly
switch back to PHP This book by Michael Hartl came so highly recommended that I had to try it, and the Ruby on
Rails Tutorial is what I used to switch back to Rails again Though Ive worked my way through many Rails
books, this is the one that finally made me get it.

n
o
i
s
r
e
V
o
m
De

Peter Cooper - Ruby Inside


I got review access to all of the material and can confirm that, yes, these screencasts are awesome If you
basically want to be able to look over the shoulder of an experienced Rails developer and see how a Rails
development environment is set up and how multiple apps are built, theres nothing that can beat this. This isnt
a set of build a blog in 15 minutes videosits a complete course that could kick off a new career for you with
Rails.

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)

Alan McCann - COO, DailyUpdate.com


Michaels original Ruby on Rails tutorial got me from someone who read Rails books to someone who actually was
able to develop basic Rails appshis teaching methodology somehow got me involved like no other book and
allowed me to produce results quickly and gain confidence. The new screencast series got me to a whole other
level of understanding.
Imagine going through the tutorial but having the pro-level developer behind the tutorial giving you a running
commentary with tips, tricks, and useful detoursall while contributing to your growth as a Rails developer with a
test-driven approach. Ive always known that understanding how experts think about what they do is the key to
learning and mastering something. In this screencast format, Michael was able to go beyond the limitations of the
written word and both show and explain his approach to Rails development in an engaging manner.
If you are early in your days with Rails, just buy this series.

Mike Riley - Dr. Dobbs

n
o
i
s
r
e
V
o
m
De

Written and presented by theoretical physicist Michael Hartl, Ruby on Rails Tutorial offers a superb introduction
to the world of a Rails developer. The Rails Tutorial PDF and complete training video set is an absolutely top-notch
package for learning the Rails framework

I cant emphasize enough how much I enjoyed the Ruby on Rails Tutorial book+video bundle. railstutorial.org will
no doubt educate legions of beginning and intermediate Rails developers, and will be one of those resources
that students who complete the book and video course will refer to often. Because Michael offers the full
contents of the book available for free on the website, both the book and videos are sure to become some of the
most frequently cited educational references among Rails students. This package will no doubt play a major
catalytic role in many Rails technical training and development careers.
If you have any interest in Rails, you owe it to yourself and your educational investment to obtain this superb
package. It will likely be one of the best and most educationally rewarding purchases you will make this year.

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)

Mike Long - Software Engineer


Just finished the outstanding @railstutorial. Probably the best software tutorial Ive experienced since K&R [The C
Programming Language by Kernighan & Ritchie].
[source]

Daniel Auger - Systems Architect for Minnesota Secretary of State


For what its worth: I had fantastic customer service from @railstutorial today. Buy with confidence my friends.
[source]

n
o
i
s
r
e
V
o
m
De
FAQ

WHAT ARE RUBY AND RUBY ON RAILS?


Ruby is a general-purpose programming language, and Ruby on Rails (or Rails for short) is a framework for
making web applications written in Ruby.

WHY SHOULD I LEARN RUBY ON RAILS?


Ruby on Rails is one of the most powerful and popular web development frameworks available, used by
sites like Twitter, GitHub, Airbnb, and Hulu. Learning Rails will give you the tools you need to make your own
web applications, while also putting you in a good position to work for a web development consultancy,
startup, or other tech company.

WHAT IS THE RUBY ON RAILS TUTORIAL?


The Ruby on Rails Tutorial: Learn Web Development with Rails is the 3rd edition of a book and a screencast
series designed to teach web development with the Ruby on Rails web framework.

WHO SHOULD STUDY THE RUBY ON RAILS TUTORIAL?


The Ruby on Rails Tutorial is designed for anyone who wants to learn how to develop web applications.
This audience includes entrepreneurs, small business owners, aspiring developers, and experienced

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)


developers with experience in other languages or frameworks.

IS THE RUBY ON RAILS TUTORIAL APPROPRIATE FOR COMPLETE BEGINNERS?


The Ruby on Rails Tutorial is likely to be very challenging if you have no programming experience at all, but
many beginners have reported that they were able to get through it with enough determination (in some
cases, by going through the entire tutorial twice!).

WHAT ARE THE PREREQUISITES FOR THE RUBY ON RAILS TUTORIAL?


There are no formal prerequisites, but I recommend familiarity with HTML and CSS, and some previous
programming experience is helpful.

DOES THE RAILS TUTORIAL USE THE LATEST VERSION OF RAILS?


Yes, The Ruby on Rails Tutorial: Learn Web Development with Rails is fully up-to-date with the latest version of
Rails.

WHAT DOES THE RUBY ON RAILS TUTORIAL COVER?


Here are the chapter titles for the 3rd edition of the Ruby on Rails Tutorial:
1.

From zero to deploy

2.

A toy app

3.

Mostly static pages

4.

Rails-flavored ruby

5.

Filling in the layout

6.

Modeling users

7.

Sign up

8.

Log in, log out

9.

Updating, showing, and deleting users

10.

Account activation and password resets

11.

User microposts

12.

Following users

n
o
i
s
r
e
V
o
m
De

See the full table of contents for more details.

HOW IS THE SCREENCAST SERIES RELATED TO THE BOOKS CONTENT?


The screencast series includes all the content from the book, while adding dozens of tips and tricks to
help you go beyond the text, including debugging hints, testing techniques, and more detailed explanations
of some of the finer points of web development. And though the screencasts are carefully edited, Ive left
in some of the problems I encountered along the way, so that you can learn how to recover from the
inevitable application errorsand see that even experts sometimes make mistakes.
The content of the screencasts is based on the 3rd edition of the Rails Tutorial, which uses the latest
version of Rails.

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)

HOW DO I VIEW THE SCREENCASTS?


Once you make your purchase, the screencasts are available as downloadable HD video files (MP4 format)
and can be viewed on your computer or tablet device.

WHAT ABOUT SINGLE-PAGE WEB FRAMEWORKS LIKE ANGULAR, BACKBONE, AND EMBER?
While some applications benefit from a JavaScript-heavy front-end, most applications are still more
naturally structured as a collection of documents, and Rails is a better fit for this more common case. In
addition, JavaScript frameworks like Angular and Ember still need a back-end to process requests, talk to
the database, etc.a job at which Rails excels. (Indeed, two of the core Ember developers are also current
and former members of the Rails core team.)

DO I HAVE TO BUY A SUBSCRIPTION TO THE CLOUD9 IDE TO COMPLETE THE RAILS TUTORIAL?
No, Cloud9 has a free tier that is perfect for doing the tutorial without committing to a monthly fee.

WHERE CAN I FIND THE LATEST UPDATES ABOUT THE RUBY ON RAILS TUTORIAL?
The best thing to do is to join the email list. Announcements are also typically available online via the Rails
Tutorial News feed.

n
o
i
s
r
e
V
o
m
De

IS THERE A PRINT EDITION OF THE RAILS TUTORIAL?

The print edition will be available for separate purchase by Addison-Wesley and is scheduled to be
released in Spring 2015.

ARE THE PREVIOUS VERSIONS OF THE RAILS TUTORIAL STILL AVAILABLE ONLINE?
Yes, previous versions are available at the following links:
Rails 4.0 version
Rails 3.2 (updated 2nd edition)
Rails 3.0 (updated 1st edition)
Rails 2.3 (pre1st edition)

SHOULD I REPORT A TINY TYPO I FOUND?


Typo reports, no matter how small, are gratefully received. Please send reports via email to the address
below.

HOW DO I CONTACT THE AUTHOR?


You can reach me by email at admin at railstutorial dot org.

DO YOU OFFER A MONEY-BACK GUARANTEE?

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)


Yes, every Rails Tutorial purchase comes with a 60-day money-back guarantee.

MORE INFO
The Ruby on Rails Tutorial helps you learn Rails by example through the development of a substantial sample
application, including a site layout, a user data model, a full registration and authentication system, usermicropost associations, social following, and a feed of status updates. The Ruby on Rails Tutorial also teaches
good software development practices, including version control with Git and GitHub, test-driven development
(TDD) and integration testing, and instant deployment with Heroku. Though of necessity the book and
screencasts focus on a specific sample application, the emphasis throughout the Rails Tutorial is on general
principles, so you will have a solid foundation no matter what kind of web application you want to build.

NEW IN THE CURRENT EDITION


Fully updated for the latest version of Rails
Use of a free integrated development environment in the cloud for maximum cross-platform compatibility
100% default stack use of the Rails framework for greatest ease of use
Lightweight, intuitive approach to testing
Completely rewritten chapter on login and authentication
All-new section on image upload
All-new chapter on account activation and password resets, including sending email with Rails
Strong focus on universal principles of web development

n
o
i
s
r
e
V
o
m
De
TRANSLATIONS

Translations of the Ruby on Rails Tutorial are available in several languages:


Chinese translation of the Ruby on Rails Tutorial
Russian translation of the Ruby on Rails Tutorial
Japanese translation of the Ruby on Rails Tutorial

HELP
Web development is a tricky business, and despite the best efforts of the tutorial its likely that youll run into
trouble at some point. If you do, I suggest comparing your code to the reference implementation of the sample
app to track down any discrepancies. You can also post your question at Stack Overflow using the tag
railstutorial.org. (Click here to see questions labeled with that tag.) The creators of the Learn_Rails
subreddit have graciously offered to answer questions as well.
Errors in the tutorial can be reported by email, but please triple-check by comparing with the reference
implementation of the sample app first.

DEBUGGING TIPS
While its impossible to anticipate every potential problem, here are some debugging tips that might help:

VeryPDF Software Demo Version (http://www.verypdf.com)

VeryPDF Software Demo Version (http://www.verypdf.com)


Have you compared your code to the reference implementation of the sample app?
Are you using the exact gem versions (including Rails) used in the tutorial?
Did you restart the web server?
Did you kill all relevant Spring processes (as described in the book)?
Did you copy-and-paste from the books code? (Experience shows that typing in code, while a better
learning technique in general, is error-prone, so when in doubt be sure to copy all code exactly.)
Did you re-run bundle install?
Did you try running bundle update?
Did you try Googling the error message?
If your problem is of a general nature, such as having issues installing Rails or configuring your system, I suggest
posting to Stack Overflow (again using the tag railstutorial.org), sending a message to the Ruby on Rails Talk
mailing list, or posting to the Learn_Rails subreddit. This will allow other people running into your issue (and not
just those following the Rails Tutorial) to benefit from the discussion. You can also try asking your question on the
Rails IRC channel (#rubyonrails) or the Rails Hotline to get live assistance from other Rails programmers. For
issues deploying to Heroku, please contact Heroku technical support.
When asking your question on any mailing list or forum, be sure to include as much relevant information as
possible. To maximize your chances of a helpful reply, I especially recommend the article How To Ask Questions
The Smart Way by Eric Raymond.

CONTACT
I can be reached by email at admin at railstutorial dot org.

n
o
i
s
r
e
V
o
m
De
powered by

VeryPDF Software Demo Version (http://www.verypdf.com)

You might also like