Learning Rails 3 [NOOK Book]


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 ...

See more details below
Learning Rails 3

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
BN.com price
(Save 45%)$29.99 List Price


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

Read More Show Less

Product Details

  • ISBN-13: 9781449343439
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 7/17/2012
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 414
  • Sales rank: 1,075,279
  • File size: 6 MB

Meet 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 Dumbill 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.

Read More Show Less

Table of Contents


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



Read More Show Less

Customer Reviews

Average Rating 3.5
( 3 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 3 Customer Reviews
  • Anonymous

    Posted March 5, 2014



    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 3, 2014

    Night To Remember- Part 6 (Amanda)

    ((Holy cow guys! Finally some plot is coming! Ik ik...)) I sighed boredly as we waited for Claire. What was taking so long? For all we know, they could be making out....Suddenly, the door opened and closed and footsteps were heard going upstairs. "Finally, your home." Gabbi said. Claire had the dumb ezpression on her face that looked like she just finished talking to her crush. Wait. No, he couldn't. Could Edd like Claire? Or other way around? Laire rolled her eyes. "Let's go someplace." I complained. Claire giggled. "Ok." "We are not going to the store to get Cola." Gabbi said. That seemed to dampen Claire's spirits. "Fine." Claire went to tell her dad and we were off. In town, Claire was knockd over by a passerby. She had long brown hair, a dark green fancy shirt, tan skinny pants, green sandals, and a smug grin on her face. "Hey, Clumsy Brain, watch where your going alright?" She said like some spoiled rich brat. "Hey, don't talk to her like that!" I spat. A girl with small black eyes, a too big gray button up shirt with a blue collar, extra long pale brown hair, and dark blue jeans stood behind the girl in green. Beside her was another girl with short blonde hair, a lavender sweater, skinny pale blue jeans, and matching lavender shoes. "Maybe you should watch how you talk to Nicole." The blonde said. She reminded me so much of that blonde dude that was a friend of Eduardo. Claire stood up. "Hey, we were watching where we were going."" Then why didya run into me?" I was about to smack that grin off her face. Better yet punch it away. "Madison, Haven, let's go." The leader said before marching off. I had a feeling we were gonna see them again. Really soon. We went on our way and got some froyo. As we walked home, we laughed and talked about our personal lives. I felt like we all knew everything about each other. My best friend was Claire. We had so much in common. Next thing I knew, Claire and I were texting about everything. Then Claire began texted Edd an awful lot. We all took notice right away. What eas going on with these two? As night rolled around, I yawned and changed into my pj's. Soon, I was asleep. ((Wrap it up up up wrap it up up up wrap it up up up im on FIRE!))

    Was this review helpful? Yes  No   Report this review
  • Posted November 13, 2012

    Learning Rails 3 by Simon St. Laurent, Edd Dumbill, and Eric J G

    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.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 3 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)