small medium large xlarge

Generic-user-small
24 Oct 2016, 16:51
Tim Morgan (2 posts)

Products are not valid if the title is the same. However, I copy the title from the index page, and paste it into the new product page. The product is created successfully!

The tests show that the product is not valid, and yet it gets saved into the database!

Product.find(1).valid? # => false

It appears the server didn’t load in the validation updates. A restart confirmed this situation.

You must be logged in to comment