List Info

Thread: Re: problems integrating globalize and haml




Re: problems integrating globalize and haml
user name
2007-10-17 03:00:46
On 10/17/07, Stephen Bannasch < stephen.bannaschdeanbrook.org">stephen.bannaschdeanbrook.org> wrote:

I have also had this problem using haml and globalize trunk with edge rails in an application that only uses globalize for access to multi-language AR model attributes.

Here is a message from a relevant thread:
http://groups.google.com/group/haml/msg/70ccbb0aaae9d770

Then read my blog post, the very bottom:
http://mislav.caboo.se/rails/rails-2-0-taking-the-plunge/

The file you are looking for is this:
http://svn.globalize-rails.org/svn/globalize/trunk/lib/globalize/rails/action_view.rb

The line with extensions should be changed:
re_extension = /.(rjs|rhtml|rxml|erb|builder|haml)$/

That's it.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to haml-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )