# INNER JOIN tblInventoryID AS iid ON iid.intInventoryIdID = rc.intInventoryIDID # INNER JOIN tblInventory AS iv ON iid.intInventoryID = iv.intInventoryID # INNER JOIN tblInventoryText AS ivt ON iv.intInventoryID = ivt.intInventoryID module Toolhound # Class to parse GitHub repository owner and name from # URLs and to generate URLs class Inventory < Base # attr_accessor :owner, :name, :id self.table_name = "tblInventory" self.primary_key = "intInventoryID" # includes :tblInventoryText, # rename_attributes intLocationID: 'location_id' end end