<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,6 +5,7 @@ require 'job/bonus_features'
 
 ActiveSupport::Dependencies.load_paths &lt;&lt; &quot;#{RAILS_ROOT}/lib/workers&quot;
 
-if ActiveRecord::Base.method_defined?(:allow_concurrency) and ActiveRecord::Base.allow_concurrency
+#ref    http://guides.rubyonrails.org/2_2_release_notes.html says 2.2 onwards allow_concurrency deprecated
+if (Rails::VERSION::STRING &gt;= '2.2') or (ActiveRecord::Base.method_defined?(:allow_concurrency) and ActiveRecord::Base.allow_concurrency)
   Job.send(:include, Job::BonusFeatures)
 end</diff>
      <filename>rails/init.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e83f775e448fda24b2df3140576faa9d1d74671e</id>
    </parent>
  </parents>
  <author>
    <name>sk</name>
    <email>opencomputing@gmail.com</email>
  </author>
  <url>http://github.com/ncr/background-fu/commit/8822b81078f4c3c4922fc9ed57697b320ccac645</url>
  <id>8822b81078f4c3c4922fc9ed57697b320ccac645</id>
  <committed-date>2009-05-18T02:27:05-07:00</committed-date>
  <authored-date>2009-05-18T02:18:07-07:00</authored-date>
  <message>patched bonus include depending on rails version

Signed-off-by: Jacek Becela &lt;jacek.becela@gmail.com&gt;</message>
  <tree>09ff7837b50a990b0fc24e079ffd9a6a017dc9c7</tree>
  <committer>
    <name>Jacek Becela</name>
    <email>jacek.becela@gmail.com</email>
  </committer>
</commit>
