Views Flashcards

1
Q

How could you inject into a view template?

A

<h1></h1>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the difference between when you inject ruby into an html view template to display some data versus writing an conditional if statement for example?

A

To display you use these:

For not displaying:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly