Yeah, we noticed this issue a while back. It's fixed in the Trunk version.
- Nathan
On 4/20/07, Daniel Guettler <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I'm using models with namespace in a larger application, if I pass an
> instance of a model into the [] method it creates a tag like this <div
> id="administration/person_1"> which is invalid XHTML.
>
> This is because <code>ref.class.to_s</code> returns "Administration/
> Person". I changed the code in buffer.rb on line 164 to
> <code>class_name = ref.class.to_s.underscore.gsub('/','_')</code>
>
> Just wanted to ask how other people deal with this and if you think
> this should go into the haml code.
>
>
> Thanks,
> Daniel
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---