Rails 6 API Tutorial - Active Record Validations p.5

Publié le: 11 juillet 2020
sur la chaîne: Rails Pro
7,197
162

In this video series we will build a Rails API from scratch. Backend APIs are useful for serving data to frontend applications, mobile apps or other backend services.

✨ Check out the new version of this video series, which has been updated for Rails 7    • Rails 7 API Tutorial - Create project and ...  

📖 You can also purchase the eBook and code for the new Rails 7 tutorial - https://tomkadwill.gumroad.com/l/rail...

This video covers:
0:09 - Explaining how validations are used in create controllers
1:42 - Adding presence and length validations to the model
4:58 - Testing validation errors in JSON API response body
9:39 - Testing an API call with no validation errors

If you’re new to this series, you may want to start with part 1:    • Rails 6 API Tutorial - Create project and ...  


Sur cette page du site, vous pouvez voir la vidéo en ligne Rails 6 API Tutorial - Active Record Validations p.5 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Rails Pro 11 juillet 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 7,197 fois et il a aimé 162 téléspectateurs. Bon visionnage!