Bug Report
Describe the bug
Trying out Futurism on a fresh app I'm getting fatal errors that seem to be a class-loading issue with GlobalID.
To Reproduce
- Create a fresh app with Rails 7.0.1 and Ruby 3.0.3
- Add Futurism
- Try futurizing a partial
NameError - uninitialized constant Futurism::Resolver::Resources::GlobalID
The backtrace points to:
[...]/3.0.0/gems/futurism-1.2.0.pre9/lib/futurism/resolver/resources.rb:92:in `resolved_models'
I notice in my Gemfile.lock I have globalid at version 1.0.0, which was added by default. If I downgrade and manually pin it to <= 0.6.0 instead, the issue is resolved.
Versions
Futurism
- Gem: 1.2.0.pre9
- Node package: 1.2.0-pre9
External tools
- Ruby: 3.0.3
- Rails: 7.0.1
- CableReady: 5.0.0-pre8
Bug Report
Describe the bug
Trying out Futurism on a fresh app I'm getting fatal errors that seem to be a class-loading issue with GlobalID.
To Reproduce
The backtrace points to:
I notice in my Gemfile.lock I have
globalidat version1.0.0, which was added by default. If I downgrade and manually pin it to<= 0.6.0instead, the issue is resolved.Versions
Futurism
External tools