/dev/reading
Category

Ruby on Rails

2 books
Order by
View
A No-Nonsense Guide to Rails Development
by Anthony Lewis

Rails is a robust, flexible development platform that lets you build complex websites quickly. Major websites like GitHub, Hulu, and Twitter have run Rails under the hood, and if you know just enough HTML and CSS to be dangerous, Rails Crash Course will teach you to harness Rails for your own projects and create web applications that are fast, stable, and secure.

In Part I, you’ll learn Ruby and Rails fundamentals and then dive straight into models, controllers, views, and deployment. As you work through the basics, you’ll learn how to:

  • Craft persistent models with Active Record

  • Build view templates with Embedded Ruby

  • Use Git to roll back to previous versions of your code base

  • Deploy applications to Heroku In Part II, you’ll take your skills to the next level as you build a social networking app with more advanced Ruby tools, such as modules and metaprogramming, and advanced data modeling techniques within Rails’s Active Record. You’ll learn how to:

  • Implement an authentication system to identify authorized users

  • Write your own automated tests and refactor your code with confidence

  • Maximize performance with the asset pipeline and turbolinks

  • Secure your app against SQL injection and cross-site scripting

  • Set up a server and deploy applications with Capistrano Each chapter is packed with hands-on examples and exercises to reinforce what you’ve learned. Whether you’re completely new to Ruby or you’ve been mucking around for a bit, Rails Crash Course will take you from the basics to shipping your first Rails application, fast.

Learn Web Development with Rails
by Michael Hartl

Used by sites as varied as Hulu, GitHub, Shopify, and Airbnb, Ruby on Rails is one of the most popular frameworks for developing web applications, but it can be challenging to learn and use. Whether you're new to web development or new only to Rails, Ruby on RailsTM Tutorial, Seventh Edition, is the solution.

Best-selling author and leading Rails developer Michael Hartl teaches Rails by guiding you through the development of three example applications of increasing sophistication. The tutorial's examples focus on the general principles of web development needed for virtually any kind of website. The updates to this edition include full compatibility with Rails 7.

This indispensable guide provides integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, and SQL skills you need when developing web applications. Hartl explains how each new technique solves a real-world problem, and then he demonstrates it with bite-sized code that's simple enough to understand while still being useful. Whatever your previous web-development experience, this book will guide you to true Rails mastery.

This book will help you

  • Set up your Rails development environment
  • Record version changes with Git and create a secure remote repository at GitHub
  • Deploy your applications early and often with Heroku
  • Go beyond generated code to truly understand how to build Rails applications from scratch
  • Learn testing and test-driven development (TDD)
  • Effectively use the Model-View-Controller (MVC) pattern
  • Structure applications using the REST architecture
  • Build static pages and transform them into dynamic ones
  • Master the Ruby programming skills all Rails developers need
  • Create high-quality site layouts and data models
  • Implement registration and authentication systems, including validation and secure passwords
  • Update, display, and delete users
  • Upload and display images using Active Storage and Amazon S3
  • Implement account activation and password reset, including sending email with Rails
  • Integrate JavaScript with Rails using Importmap
  • Add social features and microblogging, including an introduction to Hotwire and Turbo..