Permalink
Browse files

allow concurrency of AR

  • Loading branch information...
gnufied committed Jul 14, 2008
1 parent c14cffa commit 3219499c87a6d7389e011dbb6a5edf949dbf26ee
Showing with 4 additions and 1 deletion.
  1. +3 −1 doc/layouts/default.erb
  2. +1 −0 script/load_worker_env.rb
View
@@ -45,8 +45,10 @@
<div id="footer">
<div id="footer-valid">
- <a href="http://validator.w3.org/check/referer">xhtml</a>
+ <a href="http://validator.w3.org/check/referer">xhtml</a> ::
+ <span align="right"> Created with <a href="http://nanoc.stoneship.org/"> Nanoc </a> </span>
</div>
+
</div>
</div> <!-- end of wrapper div tag -->
@@ -19,6 +19,7 @@
if !(::Packet::WorkerRunner::WORKER_OPTIONS[:worker_env] == false)
require RAILS_HOME + "/config/environment"
+ ActiveRecord::Base.allow_concurrency = true
end
require "backgroundrb_server"

0 comments on commit 3219499

Please sign in to comment.