This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def conditional_body | |
haml_concat "<!--[if !IE]>--><body><!--<![endif]-->" | |
haml_concat "<!--[if IE 6]><body class='ie ie6'><![endif]-->" | |
haml_concat "<!--[if IE 7]><body class='ie ie7'><![endif]-->" | |
haml_concat "<!--[if IE 8]><body class='ie ie8'><![endif]-->" | |
tab_up | |
yield | |
tab_down | |
haml_concat "</body>" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Padrino | |
gem install padrino | |
# Put this in your shell for create in few seconds a Padrino Project with Padrino Admin | |
padrino-gen project foo -d activerecord; cd foo; bundle install; padrino-gen admin; padrino-gen admin_uploader; bundle install; padrino rake ar:migrate; padrino rake seed; padrino start |