I have read Rails 5 flash message not working with redirect_to but it is not concluding any solution after 2 years and 4 months and other topic related entries doesn\'t solv