diff options
author | Jonne Haß <me@mrzyx.de> | 2013-06-22 04:12:26 +0400 |
---|---|---|
committer | Jonne Haß <me@mrzyx.de> | 2014-03-30 17:38:18 +0400 |
commit | 98057885ac4f44b1b5175d960af6ea3d915d150e (patch) | |
tree | 8d257025e42bdefcb831bdfc5d5fca37be571835 /config/unicorn.rb | |
parent | 07aec2a630007eb66e89bde5ed4cd7192c4c4e2f (diff) |
use uuids for guid generation
Diffstat (limited to 'config/unicorn.rb')
-rw-r--r-- | config/unicorn.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/unicorn.rb b/config/unicorn.rb index e02a9dcc0..52963a762 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -48,4 +48,7 @@ end after_fork do |server, worker| # If using preload_app, enable this line ActiveRecord::Base.establish_connection + + # We don't generate uuids in the frontend, but let's be on the safe side + UUID.generator.next_sequence end |