relax rails dependency to work on rails 4