ERB Tags7:15 with Jay McGavren
Let's talk about the "embedding" part of "Embedded Ruby". You store some static text, usually HTML code, in a file. Then, using special ERB tags, you embed Ruby code that displays changing, dynamic data into the static text. Each time the template is rendered, each piece of Ruby code is evaluated to get a result. Those results are inserted into the template in place of the ERB tags, giving you text that changes each time the template is rendered.
This video doesn't have any notes.
You need to sign up for Treehouse in order to download course files.Sign up