Can you pastie the full text of your template? On Tue, Jan 20, 2009 at 12:23 PM, Kyle Hargraves <[email protected]>wrote:
> > When upgrading an application to the latest Haml to try out these > :ugly mode speedups, the app blew up once it hit staging, with > template syntax errors: > > SyntaxError in Home#show > > Showing app/views/page_blocks/_page_block.html.haml where line #3 raised: > > compile error > /Users/kyleh/oly-dev/sites/app/views/page_blocks/_page_block.html.haml:3: > syntax error, unexpected tIVAR, expecting kEND > }";end;_erbout << haml_temp_0.t...@haml_buffer = > @haml_buffer.upper;_erbout; > ^ > > Extracted source (around line #3): > > 1: = page_block_li(current_page, page_block, :editable => > permitted_to?([:page, :edit], current_page)) do > 2: = partial page_block_partial(page_block), :page_block => > page_block, :page_number => page_number > > ---- > > This is an application running a Rails version from November > (9e2b4a1), and the Haml revision is 13b699a8, but git-bisect tells me > the bug originated in revision 9334f079. It only occurs when :ugly > mode is enabled, but switching to the commit prior to the bug > introduction also fixes the problem for us. > > I've tried to create a reduced test case but have been unable to > reproduce it. Not sure what else would be helpful for tracking this > one down, so tell me if I've omitted anything. > > k > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
