Skip to content

Commit 000a27d

Browse files
committed
Revert "Temporary fix for missing callback on rails_db gem (#41)"
This commit reverts b483017 and bumps rails_db to version 2.4.3, which resolves a callback issue with Rails 7.1. Resolves #42
1 parent b483017 commit 000a27d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,12 +284,13 @@ GEM
284284
rails-html-sanitizer (1.6.0)
285285
loofah (~> 2.21)
286286
nokogiri (~> 1.14)
287-
rails_db (2.4.2)
287+
rails_db (2.4.3)
288288
activerecord
289289
kaminari
290290
rails (>= 5.0.0)
291291
ransack (>= 2.3.2)
292292
simple_form (>= 5.0.1)
293+
sprockets-rails
293294
terminal-table
294295
railties (7.1.3.3)
295296
actionpack (= 7.1.3.3)

config/environments/development.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
# config.action_cable.disable_request_forgery_protection = true
8282

8383
# Raise error when a before_action's only/except options reference missing actions
84-
config.action_controller.raise_on_missing_callback_actions = false
84+
config.action_controller.raise_on_missing_callback_actions = true
8585

8686
# Allow POST authenticity on Codespaces in dev
8787
config.action_controller.forgery_protection_origin_check = false

0 commit comments

Comments
 (0)