Giter VIP home page Giter VIP logo

Comments (3)

Niordsid avatar Niordsid commented on July 25, 2024

Im updating a project to rails 6.1 and im having the same issue using zeitwerk 2.6.7, i've updated paper_trail to 12.1 but having a model like

module PaperTrail
  class Version < ActiveRecord::Base
     include PaperTrail::VersionConcern
  end
end
class PostVersion < PaperTrail::Version
  self.table_name = :post_versions
  self.sequence_name = :post_versions_id_seq
end

im getting an error loading that model:
NameError: uninitialized constant PaperTrail::VersionConcern

I updated the gem because in the compatibility table is mentioned that version 11 requires rails >= 5.2, < 6.1, not rails <= 6.1
For now I must use version 11.1, and solve the problem with the models that include the limit parameter, adding a migration to add the item_subtype column.

from paper_trail.

bf4 avatar bf4 commented on July 25, 2024

Why would you do that and not just use PaperTrail::Version?

from paper_trail.

github-actions avatar github-actions commented on July 25, 2024

This issue has been automatically marked as stale due to inactivity.
The resources of our volunteers are limited.
Bug reports must provide a script that reproduces the bug, using our template. Feature suggestions must include a promise to build the feature yourself.
Thank you for all your contributions.

from paper_trail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.