Permalink
Browse files

Use strict_args_position! if available from Thor

  • Loading branch information...
1 parent 284ebf2 commit 83451beb1a797c8bd54afa364c39cc28145db366 @josevalim josevalim committed Jun 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/rails/generators/base.rb
View
1 railties/lib/rails/generators/base.rb
@@ -20,6 +20,7 @@ class Base < Thor::Group
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)

0 comments on commit 83451be

Please sign in to comment.