From 98057885ac4f44b1b5175d960af6ea3d915d150e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Sat, 22 Jun 2013 02:12:26 +0200 Subject: use uuids for guid generation --- config/unicorn.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/unicorn.rb') 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 -- cgit v1.2.3