Giter Club home page Giter Club logo

Comments (4)

tagliala avatar tagliala commented on August 28, 2024

Thanks. I can do the switch, but at the moment I do not know if it is worth.

Unfortunately I do not have the experience to understand the difference.

autoload is used, for example, in a gem which patches AR but does not have this issue with factory bot rails like Active Record Extended

Autoload PR: GeorgeKaraszi/ActiveRecordExtended#82

from amoeba.

jrmhaig avatar jrmhaig commented on August 28, 2024

No problem. If the current method works then I wouldn't worry about it too much. I'm currently having another look at sorting out the unit tests as I am not confident about making changes without understanding the effects.

from amoeba.

oskargargas avatar oskargargas commented on August 28, 2024

After updating amoeba I see errors with initializers for:

Which all use ActiveSupport.on_load :active_record somewhere in code from what I checked.

It looks like wrapping initializers into ActiveSupport.on_load :active_record block works as a workaround. Thou I'll pin amoeba at 3.2 as less important element in my system.

Do you consider it as something that can be fixed with amoeba going autoload route? Or it's a bug that should also be submitted to Audited and ActiveSnapshot?

from amoeba.

tagliala avatar tagliala commented on August 28, 2024

Do you consider it as something that can be fixed with amoeba going autoload route?

Can't tell, not an expert of autoload mechanisms

I see errors with initializers

Can you please provide a reduced test case?

You can start with: https://github.com/diowa/ruby3-rails7-bootstrap-heroku

from amoeba.

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.