Displaying 1 result from an estimated 1 matches for "expansition".
Did you mean:
expansion
2010 Feb 11
4
recursive expansition of <% ... %>
In a controller I have
@message = "The size is <% @a.size %>."
In the view I have
<%= @message %>
which, sadly, produces
The size is <% @a.size %>.
rather than, say,
The size is 4.
If I try
<%= <%= @ message %> %>
I get a syntax error.
Is there a solution?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you