No worries, you were definitely not the only one! On Mon, Dec 14, 2009 at 12:15 PM, bdstevens <[email protected]> wrote:
> Thanks for the quick and utterly accurate response. I'm embarassed I > didn't see that! > > On Dec 11, 4:50 pm, Chris Eppstein <[email protected]> wrote: > > In production mode, haml defaults to "ugly" mode for performance reasons. > > > > http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#options > > > > > > > > On Fri, Dec 11, 2009 at 2:12 PM, bdstevens <[email protected]> wrote: > > > This is my first time in years posting to a group asking for help, but > > > I am stumped and could use some pointers for troubleshooting. My > > > issue is that I just converted a Rails app to use HAML templates. In > > > development, everything works fine, and the output is as expected. > > > When I moved it into production, everything appears fine in the > > > browser, but upon viewing the source, I notice that the HTML is not > > > indented properly (or, well, at all). > > > > > Here's the information I think is pertinent. If anything else is > > > needed, let me know. > > > > > I'm developing on OSX 10.6, using Ruby 1.9.1-p243 (and I tried with > > > p376 as well), PostgreSQL 8.4.1, Rails 2.3.4, and HAML 2.2.15. With > > > this setup, everything appears good. > > > > > My production setup is CentOS 5.2, PostgreSQL 8.4.1, Rails 2.3.4. > > > I've tried rubies 1.9.2dev, 1.9.1-p243, 1.8.6 and 1.8.7. I'm using > > > the HAML which I froze with my Rails app, 2.2.15. > > > > > I've done lots of troubleshooting. One of the odd things is that I > > > believe with 1.9.2dev (and/or 1.9.1-p243, I don't recall which) I > > > installed the HAML gem. When running HAML on the command line with a > > > simple HTML page header template, it produces the output as expected. > > > But the output I get through the Rails app has NO indenting in the > > > HTML output (verified by both viewing source from the browser and by > > > examining the output in the Rails console). > > > > > Can anyone give me pointers on how to troubleshoot where the problem > > > may be? > > > > > -- > > > > > 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]<haml%[email protected]>< > haml%[email protected]<haml%[email protected]> > >. > > > For more options, visit this group at > > >http://groups.google.com/group/haml?hl=en. > > -- > > 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] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > > -- 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.
