Added rails template handler
Fixed handler loading