paint-brush
You Need to Know What is erb in Rails and How to Master itby@davidauza.engineer
5,412 reads
5,412 reads

You Need to Know What is erb in Rails and How to Master it

by David Auza4mMarch 28th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Erb is a template engine in which Ruby language embeds into HTML. The application will render the result of executing the code inside this tag. The browser will display the results of executing Ruby expressions in HTML. To use erb in a view, files should all have a.html.erb extension for Rails to process them in its asset-pipeline. The. application will use expression tags and execution tags to render views. The result is that the application won't render the. result of. executing Ruby code inside HTML.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - You Need to Know What is erb in Rails and How to Master it
David Auza HackerNoon profile picture
David Auza

David Auza

@davidauza.engineer

Full Stack Ruby on Rails Engineer

Learn More
LEARN MORE ABOUT @DAVIDAUZA.ENGINEER'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

David Auza HackerNoon profile picture
David Auza@davidauza.engineer
Full Stack Ruby on Rails Engineer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite