Fix the sql in the rails template (didn't work with the mysql in f16)
Fix the sql in the rails template (didn't work with the mysql in f16)

Signed-off-by: Angus Salkeld <86b65304d27d8de73dd7d624c33df7e088f8d94b@redhat.com>

dims/heat,dims/heat,openstack/heat,ntt-sic/heat,Triv90/Heat,rh-s/heat,openstack/heat-cfntools,Triv90/Heat,srznew/heat,maestro-hybrid-cloud/heat,Triv90/Heat,ntt-sic/heat,pratikmallya/heat,NeCTAR-RC/heat,bbandaru/heat-cfntools,cwolferh/heat-scratch,dragorosson/heat,cryptickp/heat,sdake/heat-jeos,miguelgrinberg/heat,rh-s/heat,openstack/heat,varunarya10/heat,redhat-openstack/heat,gonzolino/heat,cryptickp/heat,JioCloud/heat,steveb/heat-cfntools,citrix-openstack-build/heat,cwolferh/heat-scratch,takeshineshiro/heat,pshchelo/heat,takeshineshiro/heat,redhat-openstack/heat,NeCTAR-RC/heat,citrix-openstack-build/heat,steveb/heat,steveb/heat-cfntools,JioCloud/heat,dragorosson/heat,noironetworks/heat,miguelgrinberg/heat,gonzolino/heat,noironetworks/heat,steveb/heat,rdo-management/heat,rdo-management/heat,pshchelo/heat,srznew/heat,jasondunsmore/heat,maestro-hybrid-cloud/heat,jasondunsmore/heat,varunarya10/heat,rickerc/heat_audit,rickerc/heat_audit,pratikmallya/heat