<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.lang.ruby.rails.haml">
    <title>gmane.comp.lang.ruby.rails.haml</title>
    <link>http://blog.gmane.org/gmane.comp.lang.ruby.rails.haml</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8120"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8119"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8113"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8106"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8105"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8104"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8100"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8098"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8092"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8086"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8083"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8082"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8081"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8080"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8074"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8072"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8069"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8066"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8063"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8060"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8120">
    <title>Defining a class inside a .haml file and then using haml_tag, haml_concat from it?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8120</link>
    <description>&lt;pre&gt; I'm defining a class within Haml, and I'd like to be able to use the Haml 
helpers within this class. For example:
- class Whatever
   - def self.write
     - haml_concat "something"

- Whatever.write

Ideally, Whatever.write would output "something" to the template, but it 
simply fails with undefined method 'haml_concat' for 
Haml::Engine::Whatever:Class. 

Full stacktrace: haml_test.haml:5:in `write': undefined method 
`haml_concat' for Haml::Engine::Whatever:Class (NoMethodError)
from haml_test.haml:8:in `block in render'
from 
/home/fraser/.rvm/gems/ruby-1.9.3-p125/gems/haml-3.1.4/lib/haml/engine.rb:191:in 
`eval'
from 
/home/fraser/.rvm/gems/ruby-1.9.3-p125/gems/haml-3.1.4/lib/haml/engine.rb:191:in 
`render'
from 
/home/fraser/.rvm/gems/ruby-1.9.3-p125/gems/haml-3.1.4/lib/haml/exec.rb:281:in 
`process_result'
from 
/home/fraser/.rvm/gems/ruby-1.9.3-p125/gems/haml-3.1.4/lib/haml/exec.rb:41:in 
`parse'
from 
/home/fraser/.rvm/gems/ruby-1.9.3-p125/gems/haml-3.1.4/lib/haml/exec.rb:21:in 
`parse!'
from /home/fraser/.rvm/gems/ruby-1.9.3-p125/gems/haml-3.1.4/bin/haml:9:in 
`&amp;lt;top (required)&amp;gt;'
from /home/fraser/.rvm/gems/ruby-1.9.3-p125/bin/haml:19:in `load'
from /home/fraser/.rvm/gems/ruby-1.9.3-p125/bin/haml:19:in `&amp;lt;main&amp;gt;'



How can I get this to work properly? I've tried using both extend and 
include Haml::Helpers, but they both fail too. Any ideas? 

&lt;/pre&gt;</description>
    <dc:creator>Fraser Murray</dc:creator>
    <dc:date>2012-05-20T15:49:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8119">
    <title>How does it works haml loops ?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8119</link>
    <description>&lt;pre&gt; 

  Having the following rails view (haml):

.row
  .span7
    %h1 Listing categories
    %p
      - &amp;lt; at &amp;gt;categories.each do |category|
        .accordion-group
          .accordion-heading
            .accordion-toggle{"data-toggle" =&amp;gt; "collapse", "data-target" =&amp;gt; "##{category.path}"}= link_to category.name, "##{category.path}"
      - &amp;lt; at &amp;gt;competitors.each do |category_path, competitors|
        .accordion-body.table.collapse.in{:id =&amp;gt; "#{category_path}"}
          %table.accordion-inner
            %thead
              %tr
                %th= "Project"
                %th= "Description"
                %th= "Watchers"
                %th= "Forks"
            %tbody
              - competitors.each do |competitor|
                %tr
                  %td
                    = link_to "#{competitor["html_url"]}".sub( "https:\/\/github.com\/", "" ), "#{competitor["html_url"]}"
                  %td
                    %span »
                    = competitor["description"]
                  %td
                    %span.badge.badge-info= competitor["watchers"]
                  %td
                    %span.badge.badge-warning= competitor["forks"]

I need css class .accordion-group, to contain both .accordion-heading ( 
which is inside the &amp;lt; at &amp;gt;categories.each loop ) and .accordion-body (which is 
inside the other loop: &amp;lt; at &amp;gt;competitors.each loop). 

Note the two .each ruby loops, are at the same "node level" in haml, while 
their css classes .accordion-heading and .accordion-body have to be into 
.accordion-group css class container.

The resoulting html which I need, is like the following:

&amp;lt;div class="accordion-group"&amp;gt;
  &amp;lt;div class="accordion-heading"&amp;gt;
  &amp;lt;div class="accordion-body in collapse" id="collapse_id"&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class="accordion-group"&amp;gt;
  &amp;lt;div class="accordion-heading"&amp;gt;
  &amp;lt;div class="accordion-body in collapse" id="collapse_id"&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class="accordion-group"&amp;gt;
  &amp;lt;div class="accordion-heading"&amp;gt;
  &amp;lt;div class="accordion-body in collapse" id="collapse_id"&amp;gt;
&amp;lt;/div&amp;gt;
...

... while I currently get this wrong html code :

&amp;lt;div class="accordion-group"&amp;gt;
  &amp;lt;div class="accordion-heading"&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class="accordion-group"&amp;gt;
  &amp;lt;div class="accordion-heading"&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class="accordion-group"&amp;gt;
  &amp;lt;div class="accordion-heading"&amp;gt;
&amp;lt;/div&amp;gt;
...
&amp;lt;div class="accordion-body in collapse" id="collapse_id"&amp;gt;
&amp;lt;div class="accordion-body in collapse" id="collapse_id"&amp;gt;
&amp;lt;div class="accordion-body in collapse" id="collapse_id"&amp;gt;
...

I cannot find the right way for indent haml ...

&lt;/pre&gt;</description>
    <dc:creator>Luca G. Soave</dc:creator>
    <dc:date>2012-05-20T15:42:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8113">
    <title>Gedit syntax files</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8113</link>
    <description>&lt;pre&gt;Hi,
Have just tried to download the files for sass editing on Gedit from
here, The rails.xml file if full of javascript and the zip file fails
to extract. Have they been compromised?

Have download the old files from riznlog.com to try.

cheers

Dave Hodson

&lt;/pre&gt;</description>
    <dc:creator>r.dave.hodson-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-04-22T12:47:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8106">
    <title>How to insert a javascript block in the %head , containing  erb</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8106</link>
    <description>&lt;pre&gt;I am trying to insert this block  ( which is inning fine in an
application.html.erb

   &amp;lt;head&amp;gt;
       &amp;lt;script type="text/javascript"&amp;gt;
            $(function() {
               &amp;lt;%= yield :document_ready %&amp;gt;
            });
      &amp;lt;/script&amp;gt;
   &amp;lt;/head&amp;gt;

I tried :

    %head
        :javascript
             = yield :document_ready


    %head
        :javascript
             '&amp;lt;%= yield :document_ready %&amp;gt;'

thanks for feedback

but no way , the yield :document_ready  is never executer

&lt;/pre&gt;</description>
    <dc:creator>kadoudal</dc:creator>
    <dc:date>2012-04-22T12:33:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8105">
    <title>Is there a good resource for learning Haml architecture, code structure?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8105</link>
    <description>&lt;pre&gt;Hi peeps,
I'd like to play with the Haml library a bit (perhaps add support for
handlebars delimeters "{{}}", but haven't been able to find a good
source that explains the structure of the Haml code base. Anyone know
where one might find that?

&lt;/pre&gt;</description>
    <dc:creator>Bernie</dc:creator>
    <dc:date>2012-04-21T16:53:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8104">
    <title>Would people be interested if I added {{}} delimeters?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8104</link>
    <description>&lt;pre&gt;Just want to make sure I don't use time that could be spent somewhere
else. Here's the idea:

Many JS templating languages appear to use the "{{ some_content }}"
strategy for delimiting content, and Mustache and Handlebars appear to
be the most popular among those lang's.

Since Haml appears to not have an easy way to add custom delimeters
(parsing occurs all the way in the parser.rb file), would it make
sense to add these "{{" delimeters directly to haml?

The end result would be something like this:

%table
  %tbody
    {{# each MyApp.MyArray
      %tr
        %td {{ someValue }}
  %tfoot
    %tr
      %td Some footer content

Thoughts, concerns?

&lt;/pre&gt;</description>
    <dc:creator>Bernie</dc:creator>
    <dc:date>2012-04-21T17:40:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8100">
    <title>single quotes nested in double quotes</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8100</link>
    <description>&lt;pre&gt;How do I produce HAML for this:
&amp;lt;div data-bind="attr: { 'data-something': someValue }"&amp;gt;...&amp;lt;/div&amp;gt;

Next line replaces all quotes by double quotes, rendering the result
unusable:
%div{'data-bind' =&amp;gt; "attr{'data-something' : someValue}"}

Kind regards,
Bert Bruynooghe.

&lt;/pre&gt;</description>
    <dc:creator>bert bruynooghe</dc:creator>
    <dc:date>2012-03-23T10:53:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8098">
    <title>Most used Haml features</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8098</link>
    <description>&lt;pre&gt;Hi all,

As some of you may know, I'm working on a .Net port of Haml (predictably 
enough, nHaml). I've got an engine now that handles what I think is the 
bare minimum Haml stuff, namely:

   - Tags - Normal, implicit div and self-closing tags (HTML4, XHTML4, 
   HTML5)
   - Nested tags
   - Attributes - Normal, html-style and boolean attributes (HTML4, XHTML4, 
   HTML5)
   - Comments- Silent and markup
   - Whitespace munching
   - Variable interpolation
   - C# code evaluation with = token
   
So I now have an engine I can just about use in production. But what Haml 
features should I be looking at next? At the moment, I can see I'm missing 
support for:

   1. C# code control with - token
   2. Line escaping with \ token
   3. Internal filters
   4. Ruby style attributes
   5. Doctype tags with !!! token
   6. Multiline strings with | token
   7. HTML Escaping with &amp;amp;=, =, !=
   8. Whitespace preservation
   
I've put the above list in order of what I think is most important, what do 
you all think? Am I missing some killer Haml feature that you live and die 
by? Does HTML escaping save you masses of time day in day out?

Any feedback much appreciated, thanks,

Russ

&lt;/pre&gt;</description>
    <dc:creator>Russell Allen</dc:creator>
    <dc:date>2012-02-21T21:55:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8092">
    <title>How to write this on HAML? Help please</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8092</link>
    <description>&lt;pre&gt;&amp;lt;script type="text/template" id="comments-template"&amp;gt;
      &amp;lt;ol class="comments"&amp;gt;
        &amp;lt;% _.each(comments, function(c) { %&amp;gt;
          &amp;lt;li&amp;gt;&amp;lt;%= c.title %&amp;gt;&amp;lt;/li&amp;gt;
        &amp;lt;% }); %&amp;gt;
      &amp;lt;/ol&amp;gt;
&amp;lt;/script&amp;gt;

It's template for backbone.js

&lt;/pre&gt;</description>
    <dc:creator>haml_newbie</dc:creator>
    <dc:date>2012-02-16T08:37:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8086">
    <title>Anyone reading bug reports?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8086</link>
    <description>&lt;pre&gt;What's a guy got to do to get a bug report looked at?

https://github.com/nex3/haml/pull/419

&lt;/pre&gt;</description>
    <dc:creator>Doug Mayer</dc:creator>
    <dc:date>2012-02-09T20:53:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8083">
    <title>HOWTO: Avoid this error "Illegal nesting: content can't be both given on the same line as %div and nested within it."</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8083</link>
    <description>&lt;pre&gt;I have the following html snippet I wish to translate to haml:

&amp;lt;div id="person-template" style="display: none;"&amp;gt;
  &amp;lt;div class="person"&amp;gt;
    &amp;lt;p class="name"&amp;gt;&amp;lt;b&amp;gt;Name:&amp;lt;/b&amp;gt; &amp;lt;/p&amp;gt;
    &amp;lt;p class="nickname"&amp;gt;&amp;lt;b&amp;gt;Nickname:&amp;lt;/b&amp;gt; &amp;lt;/p&amp;gt;
    &amp;lt;p class="occupation"&amp;gt;&amp;lt;b&amp;gt;Occupation:&amp;lt;/b&amp;gt; &amp;lt;/p&amp;gt;
    &amp;lt;p class="rank"&amp;gt;&amp;lt;b&amp;gt;Rank:&amp;lt;/b&amp;gt; &amp;lt;/p&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;

I have not been able to figure out how to code the '
style="display:none;" ', I keep getting the error listed in the
subject line above.  What am I missing?

&lt;/pre&gt;</description>
    <dc:creator>explainer</dc:creator>
    <dc:date>2012-02-02T16:42:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8082">
    <title>Hamal book</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8082</link>
    <description>&lt;pre&gt;Can i get the url for haml pdf book.

thanks

&lt;/pre&gt;</description>
    <dc:creator>skmishra.kgec-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-01-24T07:15:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8081">
    <title>Haml whitespace munching</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8081</link>
    <description>&lt;pre&gt;Hi all,

I'm working on the NHaml .Net port of the Haml project (over at
https://github.com/NHaml/NHaml/tree/NHaml4), and I'm struggling with
whitespace munching.

I've got the surrounding-whitespace down easily enough, but the
interior whitespace munching is causing me a few issues.

Is there a reason why the following Haml:

%p&amp;lt;
  %p
  %p

Is rendered as:

&amp;lt;p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/p&amp;gt;

And not as:

&amp;lt;p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;
  &amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/p&amp;gt;

The current whitespace munching implementation in Haml seems to be
munching more than just the whitespace immediately inside a tag?

Would love to hear thoughts on this and some suggestions how NHaml
should tackle this!

Thanks,

Russ

&lt;/pre&gt;</description>
    <dc:creator>Russell Allen</dc:creator>
    <dc:date>2012-01-28T23:55:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8080">
    <title>Kindle edition of Sass and Haml documentation available now</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8080</link>
    <description>&lt;pre&gt;I generated a Kindle edition of the Sass and Haml web documentation.
You can download for free here and transfer it to your Kindle via USB.
It's bundled with the CoffeeScript and Backbone.js docs, under
"Frontend Doc Bundle."

https://github.com/danchoi/kindlefodder

It's the least I could do for this project, because Haml has
definitely made my life better (and I'm going to learn Sass soon).

Cheers,

Dan

&lt;/pre&gt;</description>
    <dc:creator>Daniel Choi</dc:creator>
    <dc:date>2012-01-23T17:19:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8074">
    <title>insert a tag under another one.</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8074</link>
    <description>&lt;pre&gt;Hello.
I have this code
= f.commit_button "Try"
that generates this html:

&amp;lt;input class="btn commit create" name="commit" type="submit"
value="Try" /&amp;gt;

I want to insert a tag between the input tags like this:

&amp;lt;input class="btn commit create" name="commit" type="submit"
value="Try" &amp;gt;
&amp;lt;i class="icon-pencil"&amp;gt;&amp;lt;/i&amp;gt;
&amp;lt;/input&amp;gt;

How can I achieve this?

&lt;/pre&gt;</description>
    <dc:creator>mauro</dc:creator>
    <dc:date>2012-02-02T15:33:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8072">
    <title>weird error w Rails 3.1 (  Haml and html5)</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8072</link>
    <description>&lt;pre&gt;I am trying display an image with :

= image_tag ("errors/not_found_medium.jpg", :size =&amp;gt; "300x300", :alt
=&amp;gt; "error")

and I am getting a 550 error ..  during haml compiling ,  seems not
accepting any option   ( :size .. :alt .. height  )


ERROR: compiling
_app_views_errors_render_____html_haml___2608007141878431500_70318571565920
RAISED /Users/yves/Developpement/Projects/DRONES/videopromo/app/views/
errors/render_404.html.haml:15: syntax error, unexpected ',',
expecting ')'
...("errors/not_found_medium.jpg", :size =&amp;gt; "300x300", :alt =&amp;gt; ...


what could be wrong ?

&lt;/pre&gt;</description>
    <dc:creator>kadoudal</dc:creator>
    <dc:date>2012-01-14T10:46:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8069">
    <title>HAML error using ternary operator in a mailer response</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8069</link>
    <description>&lt;pre&gt;I'm getting a HAML error when I try to use the ternary operator in a mailer response.

I have a mailer notifier that returns a form submission via email.  I want to pretty up the output so that 
the response of the radio_button :erected (which returns true or false) would be 'yes' or 'no,' respectively.

Using: 

    = ( #{&amp;lt; at &amp;gt;qmessage.erected} == true ) ? 'Yes' : 'No'

produces the error below.  I also tried it with "-" instead of "=".


I suspect this might be a bug as I don't have any semi-colons in my haml and yet the error message complains about an unexpected one.

Please let me know if my syntax is wrong or this is a bug.

Matt


rails (3.1.1)
haml (3.1.4)
sass (3.1.11)
sass-rails (3.1.5)
compass (0.12.alpha.0)
   SyntaxError in Quote#create

Showing .../app/views/qnotifier/quote_request.html.haml where line #39 raised:

.../app/views/qnotifier/quote_request.html.haml:39: syntax error, unexpected ';', expecting ')'
));}\n      &amp;lt;/div&amp;gt;\n    &amp;lt;/fields...
   ^
.../app/views/qnotifier/quote_request.html.haml:39: unknown regexp options - fldt
.../app/views/qnotifier/quote_request.html.haml:39: syntax error, unexpected $undefined
...n      &amp;lt;/div&amp;gt;\n    &amp;lt;/fieldset&amp;gt;\n  &amp;lt;/li&amp;gt;\n  &amp;lt;br&amp;gt;\n&amp;lt;/ol&amp;gt;\n", -...
...                               ^
.../app/views/qnotifier/quote_request.html.haml:39: unknown regexp option - l
.../app/views/qnotifier/quote_request.html.haml:39: syntax error, unexpected $undefined
...ldset&amp;gt;\n  &amp;lt;/li&amp;gt;\n  &amp;lt;br&amp;gt;\n&amp;lt;/ol&amp;gt;\n", -4, false);::Haml::Util.h...
...                               ^
.../app/views/qnotifier/quote_request.html.haml:39: unterminated string meets end of file
.../app/views/qnotifier/quote_request.html.haml:39: syntax error, unexpected $end, expecting '}'

Extracted source (around line #39):

36:         Will the equipment need to be erected?
37:       .field
38:         = ( #{&amp;lt; at &amp;gt;qmessage.erected} == true ) ? 'Yes' : 'No'
39:   %br
Trace of template inclusion: app/views/qnotifier/quote_request.html.haml



   SyntaxError in Quote#create

Showing .../app/views/qnotifier/quote_request.html.haml where line #39 raised:

.../app/views/qnotifier/quote_request.html.haml:39: syntax error, unexpected keyword_ensure, expecting ')'
...:Util.html_safe(_erbout);ensure;&amp;lt; at &amp;gt;haml_buffer = &amp;lt; at &amp;gt;haml_buffer....
...                               ^
.../app/views/qnotifier/quote_request.html.haml:39: syntax error, unexpected keyword_end, expecting ')'
...uffer.upper if &amp;lt; at &amp;gt;haml_buffer;end;
...                               ^
.../app/views/qnotifier/quote_request.html.haml:42: syntax error, unexpected keyword_end, expecting ')'

Extracted source (around line #39):

36:         Will the equipment need to be erected?
37:       .field
38:         - ( #{&amp;lt; at &amp;gt;qmessage.erected} == true ) ? 'Yes' : 'No'
39:   %br

Trace of template inclusion: app/views/qnotifier/quote_request.html.haml


&lt;/pre&gt;</description>
    <dc:creator>Matt Martini</dc:creator>
    <dc:date>2011-12-15T17:35:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8066">
    <title>Problem with indentation when displaying javascript code in views</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8066</link>
    <description>&lt;pre&gt;Hi,

I'm trying to display js snippet in my view using :escaped filter. I've got 
HTML similar to this:

%div
  %pre
    %code
      :escaped
        &amp;lt;script&amp;gt;
          var a = 1;
        &amp;lt;/script&amp;gt;

There are 2 issues: 
1. How can I display this snippet so it won't be indented? Nesting it 
deeper in more HTML tags makes it more and more indented. 
2. The first line is actually not indented at all, but all others are. I 
have to manually move the first line by adding few spaces on the left, so 
that its indentation would match the other lines.

Cheers,
Szymon

&lt;/pre&gt;</description>
    <dc:creator>Szymon Nowak</dc:creator>
    <dc:date>2011-12-06T10:18:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8063">
    <title>store block of code in a variable and reuse it many times</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8063</link>
    <description>&lt;pre&gt;hello all,
if i have a block of haml code and i want to reuse it again and again.
how can i store it in a variable then store it anywhere in my code !!

for example:
==============================================
.box
            .bx_title
              .img_n_txt
                %h2
                  %img{:scr=&amp;gt;"assets/images/img.png"}
                  Title text here
              .box_btn
                %a{:title=&amp;gt;"hello",:href=&amp;gt;"#"}&amp;lt;
                  %span&amp;lt;&amp;gt;
                    %img{:scr=&amp;gt;"assets/images/btn_img.png"}
                    Go to box content
            .bx_content
              %img{:scr=&amp;gt;"assets/images/bx_content_img.png"}
==============================================

please advice
thanks

&lt;/pre&gt;</description>
    <dc:creator>Nilegfx</dc:creator>
    <dc:date>2011-11-29T15:01:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8060">
    <title>form_tag requires "=" ?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8060</link>
    <description>&lt;pre&gt;This one seems so strange that I'm sure I must be overlooking
something. I have always used form_tag like this:

- form_tag "/" do
  = text_field_tag 'something'

But now with Rails 3.1 this does not render the block, so to make it
work I need to do this

= form_tag "/" do
  = text_field_tag 'something"

Tried this with various versions including the haml 3.1.4 gem. Why my
brain fade?

&lt;/pre&gt;</description>
    <dc:creator>ayupmeduck</dc:creator>
    <dc:date>2011-11-28T23:03:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8051">
    <title>Comments between IF and ELSIF generate syntax errors</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails.haml/8051</link>
    <description>&lt;pre&gt;Consider the following Haml: https://gist.github.com/1384945

This generates an error because a comment is in between IF and ELSIF, and Haml proceeds to freak out.

SyntaxError at /
/Users/ltackett/projects/lorintackett/tests/haml_comment_conditions/source/layout.haml:8: syntax error, unexpected keyword_elsif, expecting keyword_end elsif test_var == 42 ^ /Users/ltackett/projects/lorintackett/tests/haml_comment_conditions/source/layout.haml:12: syntax error, unexpected keyword_ensure, expecting $end

It generates an error no matter if I use loud comments or silent comments. This is pretty annoying.

Tested with Haml 3.1.2.

&lt;/pre&gt;</description>
    <dc:creator>Lorin Tackett</dc:creator>
    <dc:date>2011-11-22T05:25:39</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.ruby.rails.haml">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.ruby.rails.haml</link>
  </textinput>
</rdf:RDF>

