Skip to content

Commit

Permalink
Update railtie requires for connection patch application
Browse files Browse the repository at this point in the history
  • Loading branch information
ribose-jeffreylau committed Mar 11, 2019
1 parent 7f9dd55 commit dab53f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/active_uuid/railtie.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
require "active_uuid"
require "active_uuid/connection_patches"
require "rails"

module ActiveUUID
class Railtie < Rails::Railtie
railtie_name :activeuuid

config.to_prepare do
ActiveUUID::Patches.apply!
ActiveUUID::ConnectionPatches.apply!
end
end
end

0 comments on commit dab53f3

Please sign in to comment.