Added redirect_from to to_hash