We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109f7d2 commit d917639Copy full SHA for d917639
app.rb
@@ -39,7 +39,7 @@
39
40
# Remove all the old games.
41
# This makes sure that we do not fill the database
42
- Game.where("created_at > ?", Date.today - 30).delete_all
+ Game.where("created_at < ?", Date.today - 30).delete_all
43
44
game = Game.create(difficulty: data["difficulty"].to_i, state: "new")
45
0 commit comments