Learning Rails 3

Learning Rails 3


$31.49 $34.99 Save 10% Current price is $31.49, Original price is $34.99. You Save 10%.
View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Wednesday, September 25


If you’re a web developer or designer ready to learn Rails, this unique book is the ideal way to start.

Rather than throw you into the middle of the framework’s Model-View-Controller architecture, Learning Rails 3 works from the outside in. You’ll begin with the foundations of the Web you already know, and learn how to create something visible with Rails’ view layer. Then you’ll tackle the more difficult inner layers: the database models and controller code.

All you need to get started is HTML experience. Each chapter includes exercises and review questions to test your understanding as you go.

  • Present content by building an application with a basic view and a simple controller
  • Build forms and process their results, progressing from simple to more complex
  • Connect forms to models by setting up a database, and create code that maps to database structures
  • Use Rails scaffolding to build applications from a view-centric perspective
  • Add common web application elements such as sessions, cookies, and authentication
  • Build applications that combine data from multiple tables
  • Send and receive email messages from your applications

" Learning Rails 3 feels like a brisk pair programming session with professionals who know how to use Ruby on Rails to get things done, and get them done well."
-Alan Harris, author of Sinatra: Up and Running

Product Details

ISBN-13: 9781449309336
Publisher: O'Reilly Media, Incorporated
Publication date: 07/31/2012
Pages: 416
Product dimensions: 6.80(w) x 9.10(h) x 0.70(d)

About the Author

Simon St. Laurent is Senior Editor at O'Reilly Media, Inc., focusing primarily on JavaScript and web-related projects. He co-chairs OSCON and the Fluent conference. He's authored or co-authored books including Introducing Erlang, Learning Rails 3, XML Pocket Reference, 3rd, XML: A Primer, and Cookies.

You can find more of his writing on technology, Quakerism, and the Town of Dryden at simonstl.com.

Edd Wilder-James is a technologist, writer and programmer based in California. He is the program chair for the O’Reilly Strata and OpenSource Convention Conferences.

Eric J. Gruber makes stuff for the web and is the eGov coordinator for Lawrence, KS.

Table of Contents

  • Preface
  • Chapter 1: Starting Up Ruby on Rails
  • Chapter 2: Rails on the Web
  • Chapter 3: Adding Web Style
  • Chapter 4: Managing Data Flow: Controllers and Models
  • Chapter 5: Accelerating Development with Scaffolding and REST
  • Chapter 6: Presenting Models with Forms
  • Chapter 7: Strengthening Models with Validation
  • Chapter 8: Improving Forms
  • Chapter 9: Developing Model Relationships
  • Chapter 10: Managing Databases with Migrations
  • Chapter 11: Debugging
  • Chapter 12: Testing
  • Chapter 13: Sessions and Cookies
  • Chapter 14: Users and Authentication
  • Chapter 15: Routing
  • Chapter 16: From CSS to SASS
  • Chapter 17: Managing Assets and Bundles
  • Chapter 18: Sending Code to the Browser: JavaScript and CoffeeScript
  • Chapter 19: Mail in Rails
  • Chapter 20: Pushing Further into Rails
  • An Incredibly Brief Introduction to Ruby
  • An Incredibly Brief Introduction to Relational Databases
  • An Incredibly Brief Guide to Regular Expressions
  • Glossary
  • Colophon

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Learning Rails 3 3 out of 5 based on 0 ratings. 2 reviews.
Anonymous More than 1 year ago
FantasyRider More than 1 year ago
Learning Rails 3 by Simon St. Laurent, Edd Dumbill, and Eric J Gruber (O’Reilly Media) is a great opening guide for developers that are new to Ruby on Rails development. The book does assume some basic background from the reader (as stated in the preface). The reader should know HTML development (not just HTML via WYSIWYG tools) along with Ruby in order to truly understand the concepts that are being presented in this book. The authors provide an Appendix to help in the Ruby ramp up. Finally, a background in how programming is done generally will help the reader understand the concepts being presented. Like all technology books, the authors had to write the title to the version of Rails that was available at the time. However, I feel that the authors have provided a solid foundation to the reader that can support the independent advancement of the reader as they iterate through newer versions of the technology. The authors also provide warnings about potential problems and confusions the readers may experience. Too few authors are willing to commit to these types of warnings and I appreciate those that do provide them. After all, no technology is perfect in all ways. While the Model View Controller (MVC) specialist in me kept screaming about some of the early conversations in the book, the authors actually found ways to meet the fundamentals of MVC while making sure that the concepts provided were maintainable and manageable. I don’t fault them for their approach since the flow of the book actually results in the developer meeting those fundamentals as they progress through the book. In fact, it was actually refreshing to see the MVC concepts being explained in a way that would reach all developers – not just the purists. Overall, I recommend this book to the type of reader described above. As the authors state in their preface, you will not be a Rails guru after reading it; but you be a lot closer towards it than you were before this book was read.