Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't require Rails::Railtie if not present

  • Loading branch information...
commit 79323b4284bb23ba89d349319fd783a4668af30e 1 parent 6a87571
@denyago authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/active_record/uuid.rb
View
2  lib/active_record/uuid.rb
@@ -1,6 +1,6 @@
require 'active_record/uuid/finder_methods'
require 'active_record/uuid/model'
-require 'active_record/uuid/railtie'
+require 'active_record/uuid/railtie' if defined? Rails::Railtie
require 'active_record/uuid/relation'
require 'active_record/uuid/version'
Please sign in to comment.
Something went wrong with that request. Please try again.