link_to failing when not in development