Giter VIP home page Giter VIP logo

Comments (6)

beerlington avatar beerlington commented on July 24, 2024

Thanks for reporting! This seems like an incompatibility between the C Ruby API and JRuby. Unfortunately the piece of code that is raising the exception is just a hack to get around some issues with ActiveRecord and Arel. I'd love to get rid of that code, but it would break backwards compatibility with older versions of the gem and I'm not sure I want to do that just yet.

FWIW the offending line is here and super should only be calling inherited at that point, but it looks like it's calling one of the dynamically defined methods from above. No clue why that's happening, but I'm thinking it's probably not expected.

I'm going to open an issue in the JRuby project and leave this open for a bit, but I wouldn't count on it being fixed any time soon seeing as there are close to 400 open issues. :/

from classy_enum.

nicbor avatar nicbor commented on July 24, 2024

+1 on this.

from classy_enum.

beerlington avatar beerlington commented on July 24, 2024

@nicbor I spent a bunch of time tracking down the issue and it's out of my control. Feel free to nudge the folks on the JRuby project, but good luck since it seems like things are pretty stagnant over there these days.

from classy_enum.

nicbor avatar nicbor commented on July 24, 2024

What a shame. Thanks. Love classy_enum by the way.

from classy_enum.

beerlington avatar beerlington commented on July 24, 2024

For the time being, you could always fork the repo and remove these lines if this is a roadblocker. In the future I would like to eliminate that hack, but haven't been able to find a solution that works with all versions of Rails that this project supports.

from classy_enum.

beerlington avatar beerlington commented on July 24, 2024

Closed in 963ac91

from classy_enum.

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.