rails template fixes stuff for sequel if AR is skipped