Permalink
Browse files

Merge pull request #20 from fearoffish/master

ActiveRecord Dependency
  • Loading branch information...
2 parents 56be670 + 81c3513 commit 5f52bee3d1b0793b93a516ca305f6e6e10cb6261 @drogus committed Nov 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bulk/engine.rb
View
@@ -4,7 +4,7 @@ module Bulk
class Engine < Rails::Engine
initializer "do not include root in json" do
# TODO: handle that nicely
- ActiveRecord::Base.include_root_in_json = false
+ ActiveRecord::Base.include_root_in_json = false if defined? ActiveRecord
end
initializer "config paths" do |app|

0 comments on commit 5f52bee

Please sign in to comment.