FREE Delivery in the UK.
Only 1 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
The Rails View: Create a ... has been added to your Basket
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

The Rails View: Create a Beautiful and Maintainable User Experience Paperback – 6 Apr 2012

See all formats and editions Hide other formats and editions
Amazon Price
New from Used from
"Please retry"
£22.50 £0.74
Note: This item is eligible for click and collect. Details
Pick up your parcel at a time and place that suits you.
  • Choose from over 13,000 locations across the UK
  • Prime members get unlimited deliveries at no additional cost
How to order to an Amazon Pickup Location?
  1. Find your preferred location and add it to your address book
  2. Dispatch to this address when you check out
Learn more
£22.50 FREE Delivery in the UK. Only 1 left in stock (more on the way). Dispatched from and sold by Amazon. Gift-wrap available.
click to open popover

Special Offers and Product Promotions

Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone

To get the free app, enter your mobile phone number.

Product details

Product Description


""This book represents the wisdom gained from years' worth of building maintainable interfaces by two of the best and brightest minds in our business. I have been writing Ruby code for over a decade and Rails code since its inception, and out of all the Ruby books I've read, I value this one the most.""--Rich Kilmer, Director, RubyCentral""Finally! An authoritative and up-to-date guide to everything view-related in Rails 3. If you're stabbing in the dark when putting together your Rails apps' views, The Rails View provides a big confidence boost and shows how to get things done the right way.""--Peter Cooper, Editor, Ruby Inside and Ruby Weekly""In the past several years, I've been privileged to work with some of the world's leading Rails developers. If asked to name the best view-layer Rails developer I've met, I'd have a hard time picking between two names: Bruce Williams and John Athayde. This book is a rare opportunity to look into the minds of two of the leading experts on an area that receives far too little attention. Read, apply, and reread.""--Chad Fowler, VP Engineering, LivingSocial

About the Author

Bruce Williams is a longtime speaker, trainer, designer, and book contributor in the Ruby and Rails community and has experience in everything from low-level data processing backends to front-end user interaction. He is a Senior Developer in R&D at LivingSocial.

John Athayde is a UI/UX/Design type who comes from an architecture (of the building variety) background. He's been in the Rails community since 2006 and has broad experience in e-commerce and running creative teams. He is currently a Senior UI/UX Designer at LivingSocial.

Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: HASH(0x99756414) out of 5 stars 11 reviews
14 of 15 people found the following review helpful
HASH(0x99578fa8) out of 5 stars Good premise but needs much better proofreading 19 Sept. 2012
By Ark - Published on Amazon.com
Format: Paperback
This is a relatively current title on an often neglected topic, but the poor proofreading and numerous errors and inconsistencies in the accompanying source code marred the execution. The code is organized by chapters, but the unusual conventions and unfortunate omissions made it hard to follow (and debug):

1. Although it is indicated that a gemset has been used by the authors, they failed to include the file which specifies the exact gem versions that were used (Gemfile.lock), so had a different version been used and proved to be problematic (devise being one of them), the reader would be none the wiser.

2. For certain files that were modified gradually over the course of the book, the authors included all of the various versions. That is not a bad idea in itself, but it was done by including them as separate files in the same location (file.v1 file.v2 file.v3) without any form of version control. Over time it also becomes clear that errors have slipped in while the code package was updated along with the book, even more so without the assistance of version control. There was a defunct migration file that had to be removed for rake db:migrate to work, some redundant resources/models that were completely unused throughout the book were also not removed.

3. The chapters are related, but the sample code for each tends to be prepared to work in isolation only, and sometimes not at all (due to either omissions of controller code, or simply just mistakes), so at times the reader will have to figure out what is "broken", and fill in the missing pieces just to be able to see a minimally working sample. This is especially so for the css sprites example (which was just outright broken), and to a lesser extent the mobile views (Chapter 7) and the views for vanity a/b testing (Chapter 9). The code will not run by screenshots alone, or a production environment said to be giving so-and-so results, which the reader has no access to anyway. Failure to address the content as a whole is also an omission of practical reality - while it is nice to add mobile views, cucumber tests and custom form builders, it would be pointless if one happens to break the other.

4. About the incomplete examples due to omission of certain building blocks, some view/partial files are included but appear as dangling files that are not used anywhere else in the code, while others lack the supporting controller code or have no links within the website (thus accessible only through direct links, if the reader is even aware of them).

It is inevitable for a book to have errors, but a great number of them (both in print and code, check the errata page on the publisher's site) could have been avoidable if the writers have at least tried to vet their code one last time. Given the broad scope of the book, this is understandably more difficult, and yet even more so important. It is my hope to send a clear message to the publisher that the insufficient proofreading and lack of consideration turned out pretty badly, and should never be repeated again.
4 of 4 people found the following review helpful
HASH(0x995e9ee8) out of 5 stars Confusing layout and poor explanations mar potential gem 3 July 2013
By Jeffrey Standard - Published on Amazon.com
Format: Paperback
This is the only book I've seen that tries to give a very focused set of ways to improve your RoR view layer. The techniques themselves are great and I have taken away several good nuggets to improve my views. Unfortunately those nuggets come at the great cost of spending 2-3x the effort struggling through the many terrible editing and format issues.

- The book seems confused about what it wants to be. In their forums, the authors purport the book to be a "Views Recipes"-style book where you can drop into any chapter and upgrade yourself on different topics. Unfortunately the chapters are written more in a step-by-step style that cloys you into thinking everything is written sequentially. The result is a series of step-by-step chapters that seem almost arranged at random to build up a single application.

- You're on your own for getting everything NOT in the views layer set up so you can actually see your work. There are 0 instructions on setting up models, controllers, or the DB. While they do provide all the source code, you're left in this awkward situation of wanting to follow along with the step-by-step nature, but trying to reverse-engineer Rake tasks and models to understand what files need to already be in place. Oi vey.

- Gem versions are not locked. From the first few pages I already had to check the errata to resolve a versioning issue for Devise gem.

- This is minor, but I also felt there weren't enough visuals to provide feedback (reassurance!) as you build up your app. You'll implement change after change and then find your sidebar is off in space and have to tread back through 10 pages to find out what broke it.

I REALLY wanted to love this book. This could easily become the Rails Views bible if these issues were addressed. Here's to hoping the 2nd edition is one I can recommend.
6 of 7 people found the following review helpful
HASH(0x99346b4c) out of 5 stars It's more of a tutorial than an in-depth look at the Rails View layer. 7 May 2013
By Jennifer Shea - Published on Amazon.com
Format: Paperback Verified Purchase
I was a bit surprised when i began reading this book. I purchased it in my ongoing studies of Ruby and Rails. I was expecting an in-depth look into the hows and whys of the Rails View Layer's inner workings. But it turns out to be a long and needless introduction to basics in HTML and CSS and how they is applied to a Rails app. And not in some high level and applicable mannor but in the context of the books "tutorial". I'm not trying to throw this book into the realm of useless or unnecessary, but i spent more time online, looking for more information to answer questions raised by this book, then i did reading the book. In any event, if you are new to rails, or better yet, new to HTML and CSS and new to Rails to boot, this may be a good book... if you are interested in how to tackle the subject of building up your Views in an intelligible and pragmatic mannor. Perhaps you should look elsewhere.
3 of 3 people found the following review helpful
HASH(0x99578c60) out of 5 stars Unsucking Your View Layer 15 July 2012
By Lynn M. Wallenstein - Published on Amazon.com
Format: Paperback
As a front end developer working for a company that has over 25 different rails apps, this is the book that I wish every developer on my team had read before starting any project. It gives a real understanding of best practices, helpful tips and tricks that will help developers understand the power of creating clean, semantic views as well as being a good read for designers working with rails 3.1 and the new asset pipeline offering. If you are a rails developer who works with the view layer this book is for you. If you are a rails developer who doesn't really work in the view layer, but doesn't want the people that do to hate you, this book is also for you :)
2 of 2 people found the following review helpful
HASH(0x9973fe1c) out of 5 stars Great Read 16 July 2012
By Joe Cairns - Published on Amazon.com
Format: Paperback
As a developer who transitioned from non-web technologies, front end development was always something I was uncomfortable with. I would find myself with clean functioning code, but there was no good source to tell me if this was the standard, or "Rails Way." This book is fantastic at making sure your entire app's code base is not just clean and functioning, but industry standard.

The start will be a little basic, but quickly layers in more and more advanced topics and you'll be learning new tricks in no time. It is well written, well organized, and I felt comfortable with the information as it is written by two leaders in the Rails community.
Were these reviews helpful? Let us know