Configurable ActiveResource Site Variable
Documentation on ActiveResource is fairly thin on the ground.
If you are using ActiveResource in the real world it is likely that you will want to use different webservices depending on what environment you are in. (Staging, Development, CI, Production etc.)
Heres how to do it. This assumes the REST api has been put under the api namespace and has been setup with HTTP Authentication.
config/initializers/config.rb
config/config.yml
app/models/income_type.rb
Here is a great railscast on the subject.