Update rails bug