Loosen Rails dependency