Tutorials

Ruby on Rails

Recommended websites, tutorials, blogs and other media for learning Ruby on Rails.

A guide to configuring RuboCop linter cops for your Ruby code.

An explanation of assigns and how to use it to test instance variables in Ruby on Rails views and controllers.

Learn to generate a range of customisable routes and pages for your Ruby on Rails web app.

Learn to write Ruby on Rails Concerns to re-use code in your Models, for example with ActiveRecord callbacks.

A Ruby on Rails guide to creating user-friendly URLs with slugs instead of record IDs.

How you can create Service Objects for Ruby on Rails apps and use them to refactor Models, Views and Controllers.