class Rails::Application

def generators(&blk)

to the +generators+ method defined in Rails::Railtie.
Sends any generators called in the instance of a new application up
def generators(&blk)
  self.class.generators(&blk)
end