That's great; Haml is one thing I like most when doing web development on Ruby/Rails. The only thing I don't like about this implementation is the blocks with inline code: - if user != nil { %strong The user exists - }
- if user != nil
%strong The user exists
(That being said, the indentation bit also tripped me up in the past)