1 2 3 4 5
class FailuresController < ApplicationController def index @failures = Failure.includes(:environment).all end end