Are you using Haml 2.0.5? That's the only version that's compatible with Rails 2.2.
tmorgan99 wrote: > Hello > I am using Ryan Bates nifty_layout translated as haml. > > He gives some helpers ( javascript, stylesheet ) that use content_for, > as in > > - javascript :defaults > - stylesheet 'application' > = yield :head > > It worked it rails 2.1, but it breaks in 2.2! > > The funny thing is that the 'title' helper works! > A difference is the title helper assigns via 'content', whereas the > javascript and stylesheet use blocks. > > thanks > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
