method to take rake task and run in rails code example Example: run rake task rails $ bin/rake task_name