Extend NamedBase generator and change source_root
user
```ruby
require 'rails/generators/named_base'

module SeedScatter
  module Generators
    class Base < Rails::Generators::NamedBase
      def self.source_root
        File.expand_path(File.join(File.dirname(__FILE__), generator_name, 'templates'))
      end
    end
  end
end
```
assistant