Skip to content

Commit ef31d54

Browse files
committed
Stop aligning the arguments
1 parent ff044c3 commit ef31d54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

activerecord/lib/rails/generators/active_record/model/model_generator.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ class ModelGenerator < Base # :nodoc:
77

88
check_class_collision
99

10-
class_option :migration, :type => :boolean
11-
class_option :timestamps, :type => :boolean
12-
class_option :parent, :type => :string, :desc => "The parent class for the generated model"
13-
class_option :indexes, :type => :boolean, :default => true, :desc => "Add indexes for references and belongs_to columns"
10+
class_option :migration, type: :boolean
11+
class_option :timestamps, type: :boolean
12+
class_option :parent, type: :string, desc: "The parent class for the generated model"
13+
class_option :indexes, type: :boolean, default: true, desc: "Add indexes for references and belongs_to columns"
1414
class_option :primary_key_type, type: :string, desc: "The type for primary key"
1515

1616
# creates the migration file for the model.

0 commit comments

Comments
 (0)