apply StringLiterals cop (remove double quotes, unless there is string interpolation)
This commit is contained in:
parent
f91467a00a
commit
b7c45718d8
45 changed files with 275 additions and 109 deletions
|
|
@ -1,7 +1,7 @@
|
|||
class CreateComments < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :comments do |t|
|
||||
t.string :title, limit: 50, default: ""
|
||||
t.string :title, limit: 50, default: ''
|
||||
t.text :comment
|
||||
t.references :commentable, polymorphic: true
|
||||
t.references :user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue