What if someone directly changed the value in the database?
What if some other application (not rails app) also accesses the database?
In all of the above scenarios, you still want your data to be valid, so your rails application behaves as expected. If the data was tampered with (by another application or directly in the database), your rails application throws an error because it does not expect data.
, . , , , , . , , , , , , , , .