Given up due to excessive frustration

Sorry, Abhi.
Use the link_to helper instead of hard coding links as much as possible.