loosen rails dependecy to allow it to work with rails4