Hello, I am so very new to Rails that my question might seem odd. But I will try to be as explicit as possible.
I have a controller named clients, It shows
Assuming you have an appliance controller, you might want to add @client in
appliance_controller.rb under the index or show methods. e.g.
class ApplianceController < ApplicationController def index @appliance = Appliance.all @client = Client.all end end
But I'm also just learning too, and whilst the above works, someone else might have another suggestion.
Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.