Using Haml with Merb / Edits

21 days ago

Edited line 30 :

Testing

Rspec view tests might not work because Haml uses single quotes by default. To instruct Haml to use double quotes add the following to Merb::Config in config/init.rb:

c[:haml] = { :attr_wrapper => '"' }

22 days ago

about 1 month ago

Edited line 23 :

Coming from rails

h2. Coming from rails

about 1 month ago

Edited line 21 :

h2. Coming from rails If your sass templates doesn’t compile automatic in your app, just run rake haml:compile_sass

about 1 month ago

about 1 month ago

about 1 month ago

Edited line 22 :

http://toolmantim.com/article/2008/4/17/haml_merb_helpers_very_noice

about 1 month ago

2 months ago

Edited line 4 :

Blog Posts

Blog Posts

Edited line 7 :

2 months ago

Edited line 3 :

Edited line 13 :

http://toolmantim.com/article/2008/4/17/haml_merb_helpers_very_noice

3 months ago

Edited line 10 :

%p= select_control(:teacher, :label => "Teacher", :collection => @teachers)
%p= select_control(:teacher, :label => "Teacher", :collection => @teachers)

3 months ago