fixed rails backend bug
Merge branch 'version3' of https://github.com/connorbarnett/ThermalRunaway into version3