Tutorials

Ruby

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

Tutorials, websites, and books to learn Ruby.

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

Learn the syntax of guard clauses in Ruby and how to use them to refactor your code.

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

Learn to capture Ruby output with StringIO to make testing your apps easier.

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.