spinning out rails version helpers