use require 'quickbooks' in each controller wherever you are using quickbooks-ruby for V3 api