Rails Calculator for Thinkful