13
I have an attribute that looks like this:
data-text = "I won ### by playing..."
Where ### should be a value that I have in @credits.
How am I supposed to place that there?
I am having the same trouble when trying to do:
data-url = <%= request.scheme %> + "//" + <%= request.port %>
In this case I don't know how to place the "" that should be surrounding the whole scheme + port.
Thanks