Skip to content

Commit

Permalink
Explicitly load AR unless already loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewslotin authored and radar committed Mar 17, 2014
1 parent f2c95e9 commit 236861d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/paranoia.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'active_record' unless defined? ActiveRecord

module Paranoia
def self.included(klazz)
klazz.extend Query
Expand Down

0 comments on commit 236861d

Please sign in to comment.