Sorry, I forgot an important point! It works fine locally but it broke when i pushed to heroku.
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break your application: * Support for Ruby 1.8.6 dropped * Support for Rails 2 dropped * Sass filter now always outputs <style> tags * Data attributes are now hyphenated, not underscored * html2haml utility moved to the html2haml gem * Textile and Maruku filters moved to the haml-contrib gem For more info see: http://rubydoc.info/github/haml/haml/file/CHANGELOG.md El jueves, 21 de marzo de 2013 12:40:39 UTC-3, Ismael Gimenez escribió: > > > Code: > > !!! 5 > %html{ :lang=> I18n.locale } > %head > %meta(charset="utf-8") > %meta(name="viewport" content="width=device-width, initial-scale=1.0") > %title Scanndash > = csrf_meta_tags > = stylesheet_link_tag "application", :media => "all" > = javascript_include_tag "vendor" > = javascript_include_tag "application" if user_signed_in? > = javascript_include_tag " > https://maps.googleapis.com/maps/api/js?sensor=false" > = javascript_include_tag "markerclusterer" > %script{:type=>'text/javascript'}= yield :dynamic_js > > %body= yield > > > Error: > > > 2013-03-20T16:23:08+00:00 app[web.1]: 8: = stylesheet_link_tag > "application", :media => "all" > 2013-03-20T16:23:08+00:00 app[web.1]: (in > /app/app/assets/javascripts/app.coffee)): > 2013-03-20T16:23:08+00:00 app[web.1]: 11: = javascript_include_tag > "https://maps.googleapis.com/maps/api/js?sensor=false" > 2013-03-20T16:23:08+00:00 app[web.1]: 12: = javascript_include_tag > "markerclusterer" > 2013-03-20T16:23:08+00:00 app[web.1]: > 2013-03-20T16:23:08+00:00 app[web.1]: ActionView::Template::Error > (SyntaxError: unexpected INDENT > 2013-03-20T16:23:08+00:00 app[web.1]: 7: = csrf_meta_tags > 2013-03-20T16:23:08+00:00 app[web.1]: > app/views/layouts/application.html.haml:10:in > `_app_views_layouts_application_html_haml___1841377898848519774_61227540' > 2013-03-20T16:23:08+00:00 app[web.1]: 9: = javascript_include_tag > "vendor" > 2013-03-20T16:23:08+00:00 app[web.1]: Completed 500 Internal Server Error > in 226ms > 2013-03-20T16:23:08+00:00 app[web.1]: 13: > %script{:type=>'text/javascript'}= yield :dynamic_js > 2013-03-20T16:23:08+00:00 app[web.1]: > 2013-03-20T16:23:08+00:00 app[web.1]: 10: = javascript_include_tag > "application" if user_signed_in? > > Any ideas? > > Thanks in advance! > > > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To unsubscribe from this group and stop receiving emails from it, send an email to haml+unsubscr...@googlegroups.com. To post to this group, send email to haml@googlegroups.com. Visit this group at http://groups.google.com/group/haml?hl=en. For more options, visit https://groups.google.com/groups/opt_out.