activeresource is still needed in some instances even when activerecord is not.  Also fixed spaces instead of tabs.