aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2017-08-22 08:32:27 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2017-08-22 08:32:27 +0300
commit43f452f23bcfd300f334b9d70e4a91a2ff5a4ab7 (patch)
treef7c9c14d35b729ad8c0cd7c5a07ecf3126334d08
parent3580edc9faf5cc0a0e467911d0a4dc4faf153709 (diff)
downloadrails-43f452f23bcfd300f334b9d70e4a91a2ff5a4ab7.tar.gz
rails-43f452f23bcfd300f334b9d70e4a91a2ff5a4ab7.tar.bz2
rails-43f452f23bcfd300f334b9d70e4a91a2ff5a4ab7.zip
Remove frozen_string_literal comment from activestorage's migration
The activestorage's migration is used as template for apps Related to #30348
-rw-r--r--.rubocop.yml1
-rw-r--r--activestorage/db/migrate/20170806125915_create_active_storage_tables.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index c1101d849b..f3ed8bc841 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -88,6 +88,7 @@ Style/FrozenStringLiteralComment:
- 'actionview/test/**/*.ruby'
- 'actionpack/test/**/*.builder'
- 'actionpack/test/**/*.ruby'
+ - 'activestorage/db/migrate/**/*.rb'
# Use `foo {}` not `foo{}`.
Layout/SpaceBeforeBlockBraces:
diff --git a/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb b/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb
index d333b6bf9c..8dc000821b 100644
--- a/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb
+++ b/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: true
-
class CreateActiveStorageTables < ActiveRecord::Migration[5.1]
def change
create_table :active_storage_blobs do |t|