After a little [a lottle] more searching and mucking about, it looks
like the partial for _tag.haml might be the problem. It's creates that
variable tag and [if I understand things correctly] and the render/
delegation process is using it again when trying to render_file?
Maybe? I _hate_ the idea that I'm going to have to rename an entire
class or create some insane workaround for the partials process on
this one. Fingers crossed that there's a really simple way to solve
this.
Please. :)
RSL
On Apr 17, 5:45 pm, "Russell Norris" <[EMAIL PROTECTED]> wrote:
> I've got a model called Tag which is causing some strange problems with Haml
> on the index method of the TagsController
>
> @tags = Tag.find(:all)
>
> is somehow causing Haml to override the Rails tag helper/method with @
> tags.first from that Tag.find(:all). I removed Haml and everything went back
> to normal. As it is htuogh, stylesheet_link_tag("application") returns a Tag
> object and any other reference to tag does the same. Any ideas why?
>
> RSL
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---