Credit to devdocs.io

rails 5.0