
When we develop a new feature, it's common to add a new column that needs some validations in the model. So, we might write something like this: class Book < ApplicationRecord #... validates :barcode, presence: true end To increase the test cove...
Rails Developer
Markdown supported · ⌘↵ to post
No responses yet.