Created
October 24, 2016 16:54
-
-
Save simonista/83b40915696648765b6beec2244c1e39 to your computer and use it in GitHub Desktop.
Apply this patch to the 2016-09-17 branch to avoid a problem with a migration in the 2016-10-08 branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/models/enrollment_state.rb b/app/models/enrollment_state.rb | |
index 66e9700..c6caf91 100644 | |
--- a/app/models/enrollment_state.rb | |
+++ b/app/models/enrollment_state.rb | |
@@ -7,6 +7,7 @@ class EnrollmentState < ActiveRecord::Base | |
validates_presence_of :enrollment_id | |
self.primary_key = 'enrollment_id' | |
+ self.lock_optimistically = false | |
def hash | |
global_enrollment_id.hash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment