Don't have Telegram yet? Try it now!
http://blog.katpadi.ph/race-condition-and-rails-with_lock/
Race Condition and Rails with_lock