Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #20 from fearoffish/master

ActiveRecord Dependency
  • Loading branch information...
commit 5f52bee3d1b0793b93a516ca305f6e6e10cb6261 2 parents 56be670 + 81c3513
Piotr Sarnacki authored November 12, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/bulk/engine.rb
2  lib/bulk/engine.rb
@@ -4,7 +4,7 @@ module Bulk
4 4
   class Engine < Rails::Engine
5 5
     initializer "do not include root in json" do
6 6
       # TODO: handle that nicely
7  
-      ActiveRecord::Base.include_root_in_json = false
  7
+      ActiveRecord::Base.include_root_in_json = false if defined? ActiveRecord
8 8
     end
9 9
 
10 10
     initializer "config paths" do |app|

0 notes on commit 5f52bee

Please sign in to comment.
Something went wrong with that request. Please try again.