Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use strict_args_position! if available from Thor

  • Loading branch information...
commit 83451beb1a797c8bd54afa364c39cc28145db366 1 parent 284ebf2
@josevalim josevalim authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.