Displaying 1 result from an estimated 1 matches for "acts_as_renderer".
2008 Sep 04
3
Moving HTML out of a model
G''day folks. My RentalMap model uses ym4r_gm to generate a Google map
and plot markers on the map. However, a marker''s body contains HTML.
It feels dirty to put HTML in the model, but the markers should be
plotted by the model. Any suggestions for how I can move the marker
HTML template out of the RentalMap model?
Cheers,
Nick