I wish know how to can create or load modules on admin method.
I have the admin controllers defined and a simple auth created. I want create modules and include thats into admin options, using oil command to generate controllers, models and views of modules.
If i need add manually the modules on any place for load into admin method. how i do add this?
If you haven't modified that file, just use the -f flag.
Every generate of an admin controller generates the base file, as it is shared between all admin controllers. The error is to make sure it doesn't get overwritted by accident if you have modified it.
In hindsight it would probably have been better to reverse it, and to silenty skip unless -f was used...