Use only new hash syntax

This commit is contained in:
Artem Chernikov 2014-07-21 14:49:05 +02:00
parent 3901973fd6
commit 5289f41eb5
72 changed files with 179 additions and 181 deletions

View file

@ -1,11 +1,11 @@
class CreateTracksTable < ActiveRecord::Migration
def up
create_table :tracks do |t|
t.string :guid, :null => false
t.string :guid, null: false
t.references :conference
t.string :name, :null => false
t.string :name, null: false
t.text :description
t.string :color, :default => "#ffffff"
t.string :color, default: "#ffffff"
t.timestamps
end