1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove frozen_string_literal comment from activestorage's migration

The activestorage's migration is used as template for apps
Related to #30348
This commit is contained in:
bogdanvlviv 2017-08-22 08:32:27 +03:00
parent 3580edc9fa
commit 43f452f23b
No known key found for this signature in database
GPG key ID: E4ACD76A6DB6DFDD
2 changed files with 1 additions and 2 deletions

View file

@ -88,6 +88,7 @@ Style/FrozenStringLiteralComment:
- 'actionview/test/**/*.ruby' - 'actionview/test/**/*.ruby'
- 'actionpack/test/**/*.builder' - 'actionpack/test/**/*.builder'
- 'actionpack/test/**/*.ruby' - 'actionpack/test/**/*.ruby'
- 'activestorage/db/migrate/**/*.rb'
# Use `foo {}` not `foo{}`. # Use `foo {}` not `foo{}`.
Layout/SpaceBeforeBlockBraces: Layout/SpaceBeforeBlockBraces:

View file

@ -1,5 +1,3 @@
# frozen_string_literal: true
class CreateActiveStorageTables < ActiveRecord::Migration[5.1] class CreateActiveStorageTables < ActiveRecord::Migration[5.1]
def change def change
create_table :active_storage_blobs do |t| create_table :active_storage_blobs do |t|