Class: VersionedSeeds::SeedFileGenerator

Inherits:
Rails::Generators::SeedFileGenerator show all
Defined in:
lib/generators/versioned_seeds/seed_file_generator.rb

Instance Method Summary collapse

Methods inherited from Rails::Generators::SeedFileGenerator

#create_seed_file

Instance Method Details

#say_deprecatedObject



7
8
9
10
11
# File 'lib/generators/versioned_seeds/seed_file_generator.rb', line 7

def say_deprecated
  say "====> This generator is now DEPRECATED. <====", :red
  say "Please use:"
  say "  rails g seed_file #{name}"
end