Let's Code - Commonly used ERB tags in Ruby on Rails applications

preview_player
Показать описание
Let's Code with ERB. In this episode we take a look at four commonly used ERB (Embedded Ruby) tags in Ruby on Rails applications.

The four common ERB tags we look at are:

% %
%= %
%# %
% -%

For this Rails 5 app we use the following built-in Rails features:

- Generators (controllers)
- Action View (ERB, Erubis, templates)
- View helpers

Don't forget to subscribe and let's be friends! Feel free to say hello in the comments. :)

Elsewhere on the Internet:

Have a lovely day!

- Noob and Tube

(づ。◕‿‿◕。)づ
Рекомендации по теме
Комментарии
Автор

Hey, to everyone from The Odin Project that made it to this video!

Also, thank you Noob and Tube! Good video.

NashStewart-grwd
Автор

Which vim plugins are being used here? Can we see the vimrc, please )) ?

anvarichn
Автор

Is there an equivalent of the "<%= %>" in Pure Ruby code? Like php, where they use the php tag <?php ?>" on html.

shinobi
visit shbcf.ru