aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/rails
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-09-14 11:36:12 +0200
committerGitHub <noreply@github.com>2016-09-14 11:36:12 +0200
commit0fe76197d2622674e1796a9a000995a7a1f6622b (patch)
treead2e1380ede0a1789c7c1a7bffb1f43b465c4105 /activerecord/lib/rails
parent92703a9ea5d8b96f30e0b706b801c9185ef14f0e (diff)
parent3464cd5c288323ca115a4929d1e6b435c4afc8d4 (diff)
downloadrails-0fe76197d2622674e1796a9a000995a7a1f6622b.tar.gz
rails-0fe76197d2622674e1796a9a000995a7a1f6622b.tar.bz2
rails-0fe76197d2622674e1796a9a000995a7a1f6622b.zip
Merge pull request #26489 from kamipo/fix_broken_comments_indentation
Fix broken comments indentation caused by rubocop auto-correct [ci skip]
Diffstat (limited to 'activerecord/lib/rails')
-rw-r--r--activerecord/lib/rails/generators/active_record/migration/migration_generator.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb b/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb
index bc9037c476..76ed25ea75 100644
--- a/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb
+++ b/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb
@@ -17,9 +17,9 @@ module ActiveRecord
protected
attr_reader :migration_action, :join_tables
- # Sets the default migration template that is being used for the generation of the migration.
- # Depending on command line arguments, the migration template and the table name instance
- # variables are set up.
+ # Sets the default migration template that is being used for the generation of the migration.
+ # Depending on command line arguments, the migration template and the table name instance
+ # variables are set up.
def set_local_assigns!
@migration_template = "migration.rb"
case file_name