replaced rails dependency from 2.3.14 to 3.2.17