Permalink
Browse files

fix quota migration

Change-Id: I2adcb3abca2846d6b528438e59bb59140392ce47
  • Loading branch information...
1 parent 56c4d0e commit 20588a025931ea5b45242ef6e0292c09cfe88c3c @pbozeman pbozeman committed Dec 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/migrations/20121218004522_add_free_to_service_plan.rb
@@ -8,7 +8,7 @@
self[:service_plans].all do |plan|
free = false
- free = true if plan.name =~ /^d1[0-9][0-9]$/i
+ free = true if plan[:name] =~ /^d1[0-9][0-9]$/i
self[:service_plans].filter(:id => plan[:id]).update(:free => free)
end

0 comments on commit 20588a0

Please sign in to comment.