handling rails 3.2 redirect blocks