Update rails version

And fix spec that was sensitive to the ordering of
tags