Skip to content

Commit

Permalink
Merge pull request neo4jrb#1500 from Grafikart/patch-1
Browse files Browse the repository at this point in the history
Rescue LoadError
  • Loading branch information
cheerfulstoic authored May 11, 2018
2 parents 118e68e + 2719ed1 commit dd98c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/neo4j/active_node/node_wrapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def constant_for_label(label)

def constantized_label(label)
"#{association_model_namespace}::#{label}".constantize
rescue NameError
rescue NameError, LoadError
nil
end

Expand Down

0 comments on commit dd98c5d

Please sign in to comment.