What are rails validation used for?
Answer / Kanishka Pangti
Rails validations are used to ensure the integrity of data being saved to the database. They help enforce business rules, such as data type and format constraints, uniqueness, presence, and length limits.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about Dig, Float and Max?
How is direct different from render?
What is ORM in Rails?
What is Rails?
What is the difference between concern and application_controller.rb in ruby on rails?
The string can be represented in single as well as double quotes. What is the difference between the two?
what is the difference in scope for these two variables: @@name and @name?
Explain me what is the role of rails controller?
What are the various components of rail?
How do I find only duplicate entries in a database table?
What are models in rails?
At is cross-site request forgery (csrf)?