Correspondence between database restrictions and validations
3r3143. 3r3-31. After some time from the beginning of the development of your project, you may notice that you have inconsistencies between the restrictions in the database and validations in the application. In this article, I explain how gem database_consistency helps you tidy up your database. 3r33130. 3r3143. database_consistency . At the moment, it detects most cases. As a small bonus, it will also prompt a situation where it is possible to save the record from 3r3109. NULL [/b] value in a column with a non-zero limit. 3r33130. 3r3143. 3r33130. 3r3143. Some questions remain open: 3r3–3130. 3r3143. 3r33130. 3r3143. 3r3119. 3r3143. 3r3124. What other opportunities to implement?
3r3143. 3r3124. Is there any need to support other ORMs, for example sequel ?
3r33130. 3r3143. Try it yourself and share your feedback. I would appreciate any input!
3r3143. 3r3143. 3r3143.
3r3143. 3r3143. 3r3143. 3r3143.
It may be interesting