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 9, 2018 · 4 min read
Routes in Ruby on Rails - Using Resources and Records to Define Urls
Learn to generate a range of customisable routes and pages for your Ruby on Rails web app.
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.
Feb 3, 2018 · 3 min read
How to Create User Friendly URLs in Ruby on Rails
A Ruby on Rails guide to creating user-friendly URLs with slugs instead of record IDs.
Jan 27, 2018 · 6 min read
A Beginner's Guide to Service Objects for Ruby on Rails
How you can create Service Objects for Ruby on Rails apps and use them to refactor Models, Views and Controllers.