Is there a plugin/gem to log/record the history of rails script/generate commands?
+2
A:
I added code to script/generate and that does the trick.
CMD = "#{$0} #{ARGV.join(' ')}\n"
File.open(File.expand_path('../../log/generate.log',
__FILE__), 'a') {|f| f.write(CMD) }
Chandra Patni
2009-12-22 09:59:16