Creating Post Slugs and better User Validations
Continuing on with our application build-out, we want to add better URLs to our posts, just like we did to our user pages. We'll go through the actions again, as well as fixing up a few user validations that weren't the best before.
š¤Æ Support
ā±ļø Timestamps:
š Newsletter:
šŖElsewhere:
šConcepts:
šResources:
š¬ Subscribe!
My name is David W Parker and Iām creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. Iām a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. Iāve used React a lot in the past, as well as some Vue and AngularJS. Iāve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.
š¤Æ Support
- https://www.patreon.com/davidwparker
- https://www.buymeacoffee.com/davidwparker
ā±ļø Timestamps:
- 00:00 - Introduction
- 00:40 - Code Coverage results
- 00:50 - migration
- 01:10 - user validation changes
- 04:10 - post changes
- 05:30 - tests
š Newsletter:
- https://www.programmingtil.com/
šŖElsewhere:
- Twitter: https://twitter.com/davidwparker
- Twitter: https://twitter.com/programmingtil
- GitHub: https://github.com/davidwparker
šConcepts:
- More pretty URLs
šResources:
- https://github.com/davidwparker/programmingtil-rails/tree/ep19
- https://github.com/norman/friendlyid
š¬ Subscribe!
- http://bit.ly/subdavidwparker
My name is David W Parker and Iām creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. Iām a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. Iāve used React a lot in the past, as well as some Vue and AngularJS. Iāve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.
ruby #rails #rubyonrails
Ā© programmingtil.com