Update rails (closes #4)