Skip to content
#

Rails

rails logo

Ruby on Rails (Rails) is a web application framework written in Ruby. It is meant to help simplify the building of complex websites.

Here are 24 public repositories matching this topic...

pushcx
pushcx commented Feb 14, 2019

In the last couple weeks, every couple days I get an exception from a query failing with a complaint about a deadlock:

An ActiveRecord::Deadlocked occurred in comments#upvote:

  Mysql2::Error: Deadlock found when trying to get lock; try restarting transaction: UPDATE `stories` SET `hotness` = -19572.7194911 WHERE `stories`.`id` = 51235
  app/models/story.rb:608:in `recalculate_hotness!

Created by David Heinemeier Hansson

Released December 13 2005

Organization
rails
Website
rubyonrails.org
Wikipedia
Wikipedia
You can’t perform that action at this time.