Stackoverflow taught me so much about what the right RESTful, MVC, GET / POST is that I wonder how people learn to program / engineer in the past before Stackoverflow existed;)
Given this, here is another question about how I can make a (fair) general procedure in the most appropriate way.
I need to create HTML from a view template that will be used in a controller action. In this sense, it is similar to ActiveMailer.
- HTML template in .html.erb file
- Controller action with parameters
- Get HTML from a template for use in the controller
What is the best way? Pseudocode will be very appreciated, thanks!
source
share