I have the following erb code: <span class=<%= [class1, class2] %>> </span>
The result is class="class1class2". Of course what I want is class="class1 class2". I have tried many variations, such as: <span class=<%= class1 + " " + class2] %>> </span> Nothing seems to work. I cannot specify multiple classes. It always gets munged into a single class name. Any ideas? thanks, Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
