the HAML plugin for Rails seems to be broken when used together with
the simple_localization plugin (http://simple-
localization.arkanis.de). As soon as the simple_localization method is
called (this is needed to set the language(s) to be used), HAML
templates don't get rendered anymore but sent directly as source code.
This is true at least for edge Rails - maybe this is the same issue as
reported by someone else a few weeks ago. Also, erb templates still
work as expected. Any ideas? Or should I better report this to
simple_localization people?
Regards
Moritz
- Nathan
Anyway, I'm pretty sure it's simple_localization's fault... I'd let them
know about it.
- Nathan
Mislav Marohnić wrote:
> Same happens with Globalize and edge Rails. Simple-localization plugin
> took the part which messes up Rails internals (ActionView rendering)
> from Globalize. To find out why Haml isn't processed, look at the line
> 28 here:
> http://simple-localization.arkanis.de/repository/file/trunk/plugin/lib/features/localized_templates.rb
>
>
> On 7/28/07, *Nathan Weizenbaum* <nex...@gmail.com
On Jul 28, 9:58 pm, Nathan Weizenbaum <nex...@gmail.com> wrote:
> Anyway, I'm pretty sure it's simple_localization's fault... I'd let them
> know about it.
yup, done that already. Thanks a lot!
Moritz