Class: Auditrail::Generators::ModelGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/model.rb

Instance Method Summary collapse

Instance Method Details

#prepareObject



9
10
11
# File 'lib/generators/model.rb', line 9

def prepare
  copy_file("audit_model.rb", File.join("app", "models", "audit.rb"))
end