some more gems. private method to slugify titles in controller. wrote some functional test for negative use cases.