this should be a straightfoward question.
I was wondering how to do the equivalent of :
ruby script/generate controller MyNewController
from within a .rb file.
I would then want to call the .rb script from my rails application.
Thanks in advance
require File.dirname(FILE) + ‘/…/config/boot’