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

@ -4,9 +4,9 @@ class CreateRegistrationsTable < ActiveRecord::Migration
t.references :person
t.references :conference
t.boolean :attending_social_events, :default => true
t.boolean :attending_social_events_with_partner, :default => false
t.boolean :using_affiliated_lodging, :default => true
t.boolean :attending_social_events, default: true
t.boolean :attending_social_events_with_partner, default: false
t.boolean :using_affiliated_lodging, default: true
t.date :arrival
t.date :departure