activeresource object functioning properly