Skip to content

Commit

Permalink
Merge pull request #18378 from shunsukeaida/avoid_orm_being_humanized…
Browse files Browse the repository at this point in the history
…_in_generator_help_message

Overwrite descriptions generated by Generators::Base to respect acronym.
  • Loading branch information
carlosantoniodasilva committed Jan 7, 2015
2 parents f9e0ec5 + 884d123 commit 9892d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -2,7 +2,7 @@ module Rails
module Generators
class MigrationGenerator < NamedBase # :nodoc:
argument :attributes, type: :array, default: [], banner: "field[:type][:index] field[:type][:index]"
hook_for :orm, required: true
hook_for :orm, required: true, desc: "ORM to be invoked"
end
end
end
Expand Up @@ -6,7 +6,7 @@ class ModelGenerator < NamedBase # :nodoc:
include Rails::Generators::ModelHelpers

argument :attributes, type: :array, default: [], banner: "field[:type][:index] field[:type][:index]"
hook_for :orm, required: true
hook_for :orm, required: true, desc: "ORM to be invoked"
end
end
end

0 comments on commit 9892d44

Please sign in to comment.