Creating executable rails 3 generators

For inspiration I have been looking into rails 3.0pre

I found this in the file *bin/rails*

It almost works... except I run into the following issue

module Nifty   module Generators     class ScaffoldGenerator < Base ...       def initialize(*args, &block)         super

        args_for_c_m.each do |arg|           if arg == '!'             options[:invert] = true <<<<<< line 53 ...         if @model_attributes.empty?           options[:skip_model] = true <<<<<<<<

end