Skip to content

Commit

Permalink
Remove unnecessary PaperTrail V10 version checks
Browse files Browse the repository at this point in the history
  • Loading branch information
codealchemy committed Aug 9, 2021
1 parent ed19f9e commit b7c4d51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
@@ -1,8 +1,4 @@
class PaperTrailTestWithCustomAssociation < ActiveRecord::Base
self.table_name = :paper_trail_tests
if PaperTrail::VERSION::MAJOR >= 10
has_paper_trail versions: {name: :trails}
else
has_paper_trail versions: :trails
end
has_paper_trail versions: {name: :trails}
end
1 change: 0 additions & 1 deletion spec/dummy_app/config/initializers/paper_trail.rb

This file was deleted.

0 comments on commit b7c4d51

Please sign in to comment.