rails generator bug?

As I mentioned in http://www.ruby-forum.com/topic/177503 I can't pass
arguments to rails generator. After a couple hours I find a dirty hack

def add_options!(opt)
opt.on("--option_name","Some Text") { |v| options[:option_name] = arg[0]

but regardless what i do the options hash still 'll contain the logical
true for defined arguments (def add_options!(opt)).

Only arg array 'll contain the runtime argument's value.

Any help is welcome to solve this uggly, dirty ... hack

Thanks kfl62