Add require 'date' to use Date.today in plugin template MIT-LICENSE

This commit is contained in:
Samuel Kadolph 2011-03-12 03:22:19 +08:00 committed by David Heinemeier Hansson
parent 68802d0fbe
commit 94031ef422
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
require 'active_support/core_ext/hash/slice' require 'active_support/core_ext/hash/slice'
require "rails/generators/rails/app/app_generator" require "rails/generators/rails/app/app_generator"
require 'date'
module Rails module Rails
class PluginBuilder class PluginBuilder