diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2012-06-18 16:32:18 +0300 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2012-06-18 16:32:18 +0300 |
commit | 83451beb1a797c8bd54afa364c39cc28145db366 (patch) | |
tree | 4eb9dc1613783f95cc07344e0956678f87caea24 | |
parent | 284ebf2a1c5eead05f4b24ffbe109db4837cce44 (diff) | |
download | rails-83451beb1a797c8bd54afa364c39cc28145db366.tar.gz rails-83451beb1a797c8bd54afa364c39cc28145db366.tar.bz2 rails-83451beb1a797c8bd54afa364c39cc28145db366.zip |
Use strict_args_position! if available from Thor
-rw-r--r-- | railties/lib/rails/generators/base.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/base.rb b/railties/lib/rails/generators/base.rb index addc979dff..0b4e568725 100644 --- a/railties/lib/rails/generators/base.rb +++ b/railties/lib/rails/generators/base.rb @@ -20,6 +20,7 @@ module Rails include Rails::Generators::Actions add_runtime_options! + strict_args_position! if respond_to?(:strict_args_position!) # Returns the source root for this generator using default_source_root as default. def self.source_root(path=nil) |