Skip to content

Instantly share code, notes, and snippets.

View SKoschnicke's full-sized avatar

Sven Koschnicke SKoschnicke

View GitHub Profile
@SKoschnicke
SKoschnicke / consistency_problem.rb
Created January 26, 2010 12:03
Concurrency problems with Rails' ActiveRecord
class A < ActiveRecord::Base
# has attribute "value"
end
class B < ActiveRecord::Base
has_many :as