Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEPRECATION WARNING: ActiveRecord::Base.verification_timeout= has bee…
…n deprecated and no longer has any effect. Please remove all references to verification_timeout=.. Cleanup connection to ActiveRecord's connection pool after dispatch. Signed-off-by: Jack Dempsey <jack.dempsey@gmail.com>
- Loading branch information
1 parent
011bfe1
commit 7ec90ee
Showing
3 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This is the default behavior for ActiveRecord when used | ||
# in conjunction with ActionPack's request handling cycle. | ||
# TODO write test | ||
Merb::Controller.after do | ||
ActiveRecord::Base.clear_active_connections! | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7ec90ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any idea when this fix will be released into the merb_activerecord gem?
7ec90ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also wondering this…. ?