Ruby on Rails Wednesday, July 22, 2015



On Wednesday, July 22, 2015 at 12:17:42 PM UTC+1, Dimuth Lasantha wrote:
 iHi,

I am new to Ruby on rails. i started to learn ruby on rails. when go forward i could not find a better meaning for "template handlers". i knew that template handlers are using for render templates. 

but i expect to have some better explanation for "template handlers". 


That's pretty much all there is to it - A template handler is a thing that knows how to render a specific type of template (e.g. erb, haml, slim). If you wanted to write your view templates in a different language, for example markdown, then you'd need a template handler for markdown.

Fred

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1213c729-9f2b-4247-849f-8b1d497e4bc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment