diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-10-23 21:33:26 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-10-23 21:34:08 -0200 |
commit | ef31d541e00a94393514fd6dbeb69c5aeaa641c6 (patch) | |
tree | 43d48387f7eb419a5adb4532743194cf57b2ec5e /activerecord/lib/rails | |
parent | ff044c3c3a0a85d26d7c000abeeed835a3bee0bf (diff) | |
download | rails-ef31d541e00a94393514fd6dbeb69c5aeaa641c6.tar.gz rails-ef31d541e00a94393514fd6dbeb69c5aeaa641c6.tar.bz2 rails-ef31d541e00a94393514fd6dbeb69c5aeaa641c6.zip |
Stop aligning the arguments
Diffstat (limited to 'activerecord/lib/rails')
-rw-r--r-- | activerecord/lib/rails/generators/active_record/model/model_generator.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/rails/generators/active_record/model/model_generator.rb b/activerecord/lib/rails/generators/active_record/model/model_generator.rb index 156f77e5eb..395951ac9d 100644 --- a/activerecord/lib/rails/generators/active_record/model/model_generator.rb +++ b/activerecord/lib/rails/generators/active_record/model/model_generator.rb @@ -7,10 +7,10 @@ module ActiveRecord check_class_collision - class_option :migration, :type => :boolean - class_option :timestamps, :type => :boolean - class_option :parent, :type => :string, :desc => "The parent class for the generated model" - class_option :indexes, :type => :boolean, :default => true, :desc => "Add indexes for references and belongs_to columns" + class_option :migration, type: :boolean + class_option :timestamps, type: :boolean + class_option :parent, type: :string, desc: "The parent class for the generated model" + class_option :indexes, type: :boolean, default: true, desc: "Add indexes for references and belongs_to columns" class_option :primary_key_type, type: :string, desc: "The type for primary key" # creates the migration file for the model. |