gurpreet/amit|rails_upgrade| upgraded rails to version 3.0.19 to have fix for recent rails vulnerability
Refactored the constants to a variable for readabiity