Learn to build Rails-based web applications using all the latest features offered in Rails 5.2. Author Stefan Wintermeyer begins by teaching the basics of Ruby 2.5 before proceeding through all aspects of Rails, utilizing clean, succinct examples – rather than a single large application.
This book covers topics including Active Storage, Credentials, Active Record, Scaffolding, REST, Routing, Bundler, Forms, Cookies, and Sessions, all of which are vital for modern Rails web applications. To complement these topics you’ll also learn about test-driven development, Action Cable, Active Job, Action Mailer, I18n, Asset Pipeline, and caching. Finally, you’ll see a how-to for a production web server with nginx. This complete set of skills will set you up for a future of efficient and elegant Rails coding.
Those with at least some prior programming experience. Ruby experience is helpful, but not required.
Chapter 1: Ruby Introduction
Chapter 2: First Steps with Rails
Chapter 3: ActiveRecord
Chapter 4: Scaffolding and REST
Chapter 5: Routes
Chapter 6: Bundler and Gems
Chapter 7: Forms
Chapter 8: Cookies and Sessions
Chapter 9: Tests
Chapter 10: Active Job
Chapter 11: Action Mailer
Chapter 12: Internationalization
Chapter 13: Asset Pipeline
Chapter 14: Caching
Chapter 15: Action Cable
Chapter 16: Credentials
Chapter 17: Active Storage
Appendix A: Ruby on Rails Installation
Appendix B: Web Server in Production Mode
Appendix C: Further Rails Reading Material