I have a few related questions about views. Specifically,
how do you call link_to from a method rather than a view?
Calling from a method in the model,
the result of
undefined method `link_to' for ActionView::Helpers::UrlHelper:Module
More generally, how does Rails process a view? What is self inside an
What is its class? (self.class called inside the view returns "#")
How does it get instance variables from the controller? How does it
get access to link_to?