Leonardo Mateo wrote:
> On Thu, Apr 8, 2010 at 8:07 PM, John Merlino <[email protected]>
> wrote:
>> � � � � � �= @chart
>> � � � � � �%td
>> � � � � � � �.panel#activity-chart
>> � � � � � � � �%h3.header Activity
>> � � � � � � � �.content
>>
>> Thanks for any reply.
>> --
>
> What kind of variable is @chart?
>
>
> --
> Leonardo Mateo.
> There's no place like ~
If I do this, it renders chart as text:
%h3.header Students
#chart-container
- content_for :javascripts do
= @chart
%td
I had this problem before and it was related to indentation and haml.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en.