Made actionpack dependency => 3.1 from ~> 3.1