Blog posts tagged
Jun 13, 2018 · 3 min read
Assigns in Ruby on Rails - How you can test views and controllers
An explanation of assigns and how to use it to test instance variables in Ruby on Rails views and controllers.
Mar 22, 2018 · 3 min read
How to test Ruby output and logs using RSpec with StringIO
Learn to capture Ruby output with StringIO to make testing your apps easier.
Feb 7, 2018 · 4 min read
Ruby on Rails Callbacks - DRY out your models using Concerns
Learn to write Ruby on Rails Concerns to re-use code in your Models, for example with ActiveRecord callbacks.