damn rails magic