Book description
Learn Rails the way the Rails core team recommends it, along with the tens of thousands of developers who have used this broad, far-reaching tutorial and reference. If you're new to Rails, you'll get step-by-step guidance. If you're an experienced developer, get the comprehensive, insider information you need for the latest version of Ruby on Rails. The new edition of this award-winning classic is completely updated for Rails 5.1 and Ruby 2.4, with information on system testing, Webpack, and advanced JavaScript.
Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly---you concentrate on creating the application, and Rails takes care of the details. Rails 5.1 brings many improvements, and this edition is updated to cover the new features and changes in best practices.
We start with a step-by-step walkthrough of building a real application, and in-depth chapters look at the built-in Rails features. Follow along with an extended tutorial as you write a web-based store application. Eliminate tedious configuration and housekeeping; seamlessly incorporate Ajax and JavaScript; send emails and manage background jobs with ActiveJob; build real-time features using WebSockets and ActionCable. Test your applications as you write them using the built-in unit, integration, and system testing frameworks; internationalize your applications; and deploy your applications easily and securely. New in this edition is support for Webpack and advanced JavaScript, as well as Rails' new browser-based system testing.
Rails 1.0 was released in December 2005. This book was there from the start, and didn't just evolve alongside Rails, it evolved with Rails. It has been developed in consultation with the Rails core team. In fact, Rails itself is tested against the code in this book.
What You Need:
All you need is a Windows, Mac OS X, or Linux machine to do development on. This book will take you through the steps to install Rails and its dependencies. If you aren't familiar with the Ruby programming language, this book contains a chapter that covers the basics necessary to understand the material in the book.
Publisher resources
Table of contents
- Foreword to the Rails 5 Edition
- Preface to the Rails 5.1 Edition
- Acknowledgments
- Introduction
- Part I. Getting Started
-
Part II. Building an Application
- 5. The Depot Application
- 6. Task A: Creating the Application
- 7. Task B: Validation and Unit Testing
- 8. Task C: Catalog Display
- 9. Task D: Cart Creation
- 10. Task E: A Smarter Cart
- 11. Task F: Add a Dash of Ajax
- 12. Task G: Check Out!
- 13. Task H: Entering Additional Payment Details
- 14. Task I: Processing Emails and Payments Efficiently
- 15. Task J: Logging In
- 16. Task K: Internationalization
- 17. Task L: Deployment and Production
- 18. Depot Retrospective
- Part III. Rails in Depth
- Bibliography
Product information
- Title: Agile Web Development with Rails 5.1
- Author(s):
- Release date: November 2017
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781680505320
You might also like
book
Learn Rails 5.2: Accelerated Web Development with Ruby on Rails
Learn to build Rails-based web applications using all the latest features offered in Rails 5.2. Author …
book
Professional Ruby on Rails™
Nothing less than a revolution in the way web applications are constructed,Ruby on Rails (RoR) boasts …
book
Rails: Novice to Ninja, 3rd Edition
Rails: Novice to Ninja is an easy-to-follow, practical and fun guide to Ruby on Rails for …
book
The Connected Apple Family: Discover the Rich Apple Ecosystem of the Mac, iPhone, iPad, and AppleTV
Most of us know how to use an iPhone for some activities and a Mac for …