This week, we talk about how to add validations, SEO-friendly URLs, geolocation and filters. We also explore how to add gems to our project and get our site on Heroku.
With anonymous comments, we might want to have the ability to stop people cursing and swearing (or “effing and jeffing” as my mum would say). To do this we can use <a href="https://github.com/mobomo/profanityfilter">the profanityfilter gem</a>. Use the technique for installing a gem in the videos, then follow the instructions to stop people swearing in the comments.
Private notes
A place for you to post notes about anything on this page. Only you can view your notes.