I have Rails 14.1 installed and I have been following the tutorials in the "Agile Development with Rails" book. For the first step in the shopping cart object they run the following command
ruby script/generate scaffold Product Admin
specificying that this will Make a Product model with a controller called Admin. The command seems to be working correctly but it creates the controller as "product" instead od "Admin." It is as if it just ignores the exra parameter on the command.
This is a know issue with .14.x the scaffold generator. It doesn't do what the docs say it does. It is fixed in the trunk svn version. So if you check out the edge rails version the behavior is fixed and will be fixed when 1.0 final comes out.
So for now your only choices are to use edge rails or go back to .13.1. I'm sure that
.14.3 will fix the issue as well.