Add frozen_string_literal magic comment

re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
This commit is contained in:
James Mason 2018-05-07 16:47:29 -07:00
parent 6775add832
commit d8bd269a64
15 changed files with 28 additions and 2 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class AddCodeOfConductToOrganization < ActiveRecord::Migration[5.0]
def change
add_column :organizations, :code_of_conduct, :text

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class AddAcceptedCodeOfConductToRegistrations < ActiveRecord::Migration[5.0]
def change
add_column :registrations, :accepted_code_of_conduct, :boolean