Skip to content

Commit

Permalink
Load when Ative Node is present
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalgarg231 committed Oct 9, 2016
1 parent 74f5159 commit 9092687
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion lib/carrierwave/neo4j-data-uri.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
require 'carrierwave/neo4j_data_uri/parser'
require 'carrierwave/neo4j_data_uri/mount'

Neo4j::ActiveNode.send :include, CarrierWave::CustomNeo4j
Neo4j::ActiveNode.send :include, CarrierWave::CustomNeo4j if defined?(Neo4j::ActiveNode)
5 changes: 0 additions & 5 deletions lib/carrierwave/neo4j_data_uri/mount.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
require "carrierwave/neo4j/version"
require "neo4j"
require "carrierwave"
require "carrierwave/validations/active_model"
require "carrierwave/neo4j/uploader_converter"
require "active_support/concern"

module CarrierWave
Expand Down

0 comments on commit 9092687

Please sign in to comment.