Loosen dependency for rails 4.