loosen rails version dependency so we can work with this on rails 4