Require Ruby 2 and don't log db statements twice