Add ref.; getting current controller/action in Rails