Skip to content
Browse files

Merge branch 'master' of github.com:kourge/rageriffic

  • Loading branch information...
2 parents c31b9de + ccea6f2 commit 77c3df22e91ee79c0d5ae2afd5662884c6dffb66 @omjolie omjolie committed May 12, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 app/models/round.rb
View
7 app/models/round.rb
@@ -1,4 +1,11 @@
class Round < ActiveRecord::Base
has_many :participations
has_many :votes
+ before_save :force_unfrozen
+
+ def force_unfrozen
+ self.is_frozen = false
+ true
+ end
+
end

0 comments on commit 77c3df2

Please sign in to comment.
Something went wrong with that request. Please try again.