[haml] get all assigned variables used in teh templates (HAML/PHP)

2009-11-07 Thread annemarie tannengrund
hi, im looking for a HAML function that does something similar to the smarty debug. in smarty you can put {debug} in your template, this opens a popup wich gives a overview over used assignments and their variables. also it gives a list of used/included templates. is there something similar in

[haml] Re: get all assigned variables used in teh templates (HAML/PHP)

2009-11-07 Thread Bradley Grzesiak
First of all, this doesn't really seem to be a HAML question. Not that I care... just saying it's more of a Rails question. Anyway, I haven't used it yet, but Rack::Bug looks super-awesome and similar to what you might be looking for:

[haml] Re: get all assigned variables used in teh templates (HAML/PHP)

2009-11-07 Thread Nathan Weizenbaum
I think Annemarie is asking about one of the PHP Haml implementations. Annemarie, this list is mostly focused on the original Ruby Haml; the PHP Haml devs may check it occasionally, but I think they also have their own lists that might be more fruitful. On Sat, Nov 7, 2009 at 12:07 PM, Bradley

[haml] How does HAML get compiled?

2009-11-07 Thread webbieguy
Hi, I am a Ruby on Rails newbie and am trying to use Haml. I love the different aspects of and would love to use it for everything. One simple problem which I can't seem to find the answer to. How does it get compiled? I have haml files in a Ruby on Rails project in Aptana and I made the

[haml] Re: How does HAML get compiled?

2009-11-07 Thread Nathan Weizenbaum
If you're using Haml with Rails, it'll work just like ERB (once you have the plugin installed, that is): you write your views with the extension .html.haml and then when you go to view them in your browser, it's automatically compiled behind-the-scenes. Does that help? On Sat, Nov 7, 2009 at

[haml] Re: How does HAML get compiled?

2009-11-07 Thread webbieguy
Yes it does. Now however, I am getting a pagination error. Is there an easy to install gem available for this? Thanks in advance!! On Nov 7, 5:13 pm, Nathan Weizenbaum nex...@gmail.com wrote: If you're using Haml with Rails, it'll work just like ERB (once you have the plugin installed, that

[haml] Re: How does HAML get compiled?

2009-11-07 Thread webbieguy
I forgot to say that I am using haml_scaffold to generate my haml files. On Nov 7, 5:13 pm, Nathan Weizenbaum nex...@gmail.com wrote: If you're using Haml with Rails, it'll work just like ERB (once you have the plugin installed, that is): you write your views with the extension .html.haml and

[haml] What version of hpricot is necessary for running tests?

2009-11-07 Thread Joe Van Dyk
I seemed to have the most success with hpricot version 0.6. Using hpricot 0.8 made a lot of tests fail. On a side note, why aren't we using nokogiri? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Haml group. To

[haml] Re: What version of hpricot is necessary for running tests?

2009-11-07 Thread Nathan Weizenbaum
I'm using hpricot 0.8, and everything's working for me... as to why not Nokogiri, mostly because it's already written in Hpricot and I don't know the Nokogiri APIs. If you want to take a crack at rewriting, go for it. On Sat, Nov 7, 2009 at 9:17 PM, Joe Van Dyk joevan...@gmail.com wrote: I

[haml] Re: What version of hpricot is necessary for running tests?

2009-11-07 Thread Chris Eppstein
I just finished porting our app from Hpricot to Nokogiri... I took notes and plan to write a blog post soon. -chris On Sat, Nov 7, 2009 at 9:27 PM, Nathan Weizenbaum nex...@gmail.com wrote: I'm using hpricot 0.8, and everything's working for me... as to why not Nokogiri, mostly because it's