-
Create a file named "db.rake" under rails' "lib/tasks/db.rake"
-
Place the code there and done!
It's great to use along with docker, since "A started container is not a ready container".
Sample usage can be found in: https://github.com/falko-org/Falko-API