zetachang/ntu_scheduler — Issue #17: Internal Sever Error Without detail in browser
Author: zetachang
Created: 2011-10-27 17:24:43+00:00
State: open

用haml的時候，如果有syntax error，他有時候為吐出標準的rails錯誤頁面（指出錯誤在哪），有時候卻只吐出500 internal server error，詳細的訊息只能在log裡找

```haml
.user_info.span16
-#.span3
-# = image_tag "http://graph.facebook.com/#{user.facebook_uid}/picture?type=small"
%h2 #{user.name}'s Schedule
.fun
= select "set", "name", ["社團朋友",1], ["國文作業",2], ["Create New Set",0]]-#, {:include_blank => false, :prompt => 'Select a schedule set to add'}, {:id => 'add_to_set_select'}
-#s= link_to "Add", "#", :class => "btn success small"
```