Hi,
Recently I found a nasty bug caused by respond_to. It happens only if you are using a EC2 driver and want to show hardware profile. Because HWP have names like 'm1.small', respond_to interprets this like ID 'm1' and mimetype 'small'. Which of course cause exception.
Howto replicate this:
./deltacloud -i ec2 http://localhost:3001/api/hardware_profiles/m1.small
This little patch will fix this.
-- Michal