Extracting variables in haml