aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Kadolph <samuel@kadolph.com>2011-03-12 03:22:19 +0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2011-03-12 03:27:42 +0800
commit94031ef422357e5802c965a9e8365e5494e7cc2f (patch)
treeffaac733c48d07d9492fc3c7c1cf2ca6c01277e5
parent68802d0fbe9d20ef8c5f6626d4b3279bd3a42d3e (diff)
downloadrails-94031ef422357e5802c965a9e8365e5494e7cc2f.tar.gz
rails-94031ef422357e5802c965a9e8365e5494e7cc2f.tar.bz2
rails-94031ef422357e5802c965a9e8365e5494e7cc2f.zip
Add require 'date' to use Date.today in plugin template MIT-LICENSE
-rw-r--r--railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
index 8b1aed974f..5b4687ce64 100644
--- a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
+++ b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
@@ -1,5 +1,6 @@
require 'active_support/core_ext/hash/slice'
require "rails/generators/rails/app/app_generator"
+require 'date'
module Rails
class PluginBuilder