1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00

Do not require PT-AT

[Fixes #1134]
This commit is contained in:
Jared Beck 2018-08-14 18:56:46 -04:00
parent 6c34a3dd5a
commit ed4a39141b
2 changed files with 6 additions and 4 deletions

View file

@ -141,7 +141,3 @@ if defined?(::Rails)
else
require "paper_trail/frameworks/active_record"
end
# https://github.com/paper-trail-gem/paper_trail/issues/1070
# https://github.com/westonganger/paper_trail-association_tracking/issues/2
require "paper_trail-association_tracking"

View file

@ -9,6 +9,12 @@ require "action_controller/railtie"
Bundler.require(:default, Rails.env)
require "paper_trail"
# As of PT 10, PT-AT is a development dependency in paper_trail.gemspec
# https://github.com/paper-trail-gem/paper_trail/issues/1070
# https://github.com/westonganger/paper_trail-association_tracking/issues/2
# https://github.com/westonganger/paper_trail-association_tracking/issues/7
require "paper_trail-association_tracking"
module Dummy
class Application < Rails::Application
config.encoding = "utf-8"