loosen rails dependency