Created
October 22, 2014 17:54
-
-
Save mitchellhenke/cf6ba4bfb69e9cdad0c1 to your computer and use it in GitHub Desktop.
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
after_connect = proc do |connection| | |
connection.query("UPDATE items set text='testing' where id = 34;") | |
end | |
Sequel::Model.db = Sequel.connect(ENV['DATABASE_URL'], after_connect: after_connect) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment