I need to get some of the data for my models from SOAP based services
and some from a rails db. I am relatively new to Rails and not sure
how to do it right.
class Product < ActiveRecord::Base # products should be loaded
through a soap service from a 3rd party system
belongs_to :product_group # also loaded through a soap
belongs_to :product_location # this one is a local table
Product.find(params[:id]) #should load data from both
soap service and local db
please suggest how this should be done. thank you.