Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
238 B

class AddIsFeaturedToConference < ActiveRecord::Migration
def change
add_column :conferences, :is_featured, :boolean
Conference.all.each do |c|
c.update_attribute :is_featured, (c.slug == 'Detroit2016')
end
end
end