Html Without HtmlIll-informed boss: Hey that's HTML in the 'model'! It's not allowed there!
Bright-eyed bushy-tailed hireling: Fret not! That's HtmlWithoutHtml.
def somewhere_model_side
xml = Builder::XmlMarkup?.new
xml.html do
xml.body do
xml.p{ "I'm in ur model, writing ur HTML" }
end
end
end
See also AlternateHardAndSoftLayers, ModelViewController, and ModelViewControllerMisconceptions...
EditText of this page
(last edited March 25, 2014)
or FindPage with title or text search