link_to_remote undefined within controller?

That’s by design. You should really have a partial that gets rendered from your controller. The partial would contain the link_to_remote.