[haml] add collapse_whitespace along with remove_whitespace

2013-09-17 Thread Rok Kralj
So, here we go, with example haml: %div text1 #two text2 With collapse_whitespace: true, we have: divtext1divtext2/div/div This actually *changes the rendering* in the browser, *removing the space*between text1 and text2. I propose you change this option to (collapse would keep all

[haml] rails masonry haml

2013-09-17 Thread patrick jones
Hello community, I'm new to app development and I have what is, in my mind, a couple very simple yet heretofore unanswered/ambiguously answered questions: *1. Calling javascript in HAML* What is the correct syntax for calling javascript in a HAML header in application.html.haml? *2. Masonry

Re: [haml] ActionView::MissingTemplate in Production

2013-09-17 Thread engineerDave
This is a missing template file error not haml gem error. To me this sound like it may be a stale current link. i.e. Capistrano might not be updating the current directory link. Make sure the current symlink is actually pointing to the latest release directory. On Wednesday, September 11, 2013