Skip to content

Commit

Permalink
Don't check for mixed relations on batch insert
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Jul 25, 2011
1 parent 8f51b25 commit 058181d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/mongoid/relations/referenced/batch.rb
Expand Up @@ -41,7 +41,6 @@ def batched(&block)
ensure
if @executions.zero?
Threaded.insert = nil
raise_mixed if embedded?
inserter.execute(collection)
end
end
Expand Down

0 comments on commit 058181d

Please sign in to comment.