Simple metric for rails