|
|
|
[
Permlink
| « Hide
]
Michael Klishin - 07 Sep 07 21:36
While "while 5" doesn't make sense because it causes an infinite loop, these Erb blocks (right name for this <% %> stuff) may contain HTML. Could you explain what restriction are you going to add?
It means, that Expression Erb blocks (<%= .. %>) must contain correct ruby expressions. E.g. <%= 3.times do %> isn't correct, but <%= 3 + 5 %> is ok.
|
|||||||||||||||||||||||||||||||||||||||||||