class Rails::Configuration::Generators

def method_missing(method, *args)

def method_missing(method, *args)
  method = method.to_s.sub(/=$/, '').to_sym
  return @options[method] if args.empty?
  if method == :rails || args.first.is_a?(Hash)
    namespace, configuration = method, args.shift
  else
    namespace, configuration = args.shift, args.shift
    namespace = namespace.to_sym if namespace.respond_to?(:to_sym)
    @options[:rails][method] = namespace
  end
  if configuration
    aliases = configuration.delete(:aliases)
    @aliases[namespace].merge!(aliases) if aliases
    @options[namespace].merge!(configuration)
  end
end