Comments (9)
Let me double-check if any Class is still stored in Wallaby::Map
. Is this issue for envisage?
from wallaby-rails.
Yeah, this is for Envisage. The develop branch.
from wallaby-rails.
Does wallaby attempt to load classes based on database tables? This may be the issue if so.
from wallaby-rails.
Nope, Wallaby only loads the files under eager_load_paths
which is the /app
folder, it doesn't read the database tables.
Sure, I will take a look.
from wallaby-rails.
@ryanb I can confirm that this is an issue of closure_tree
, not wallaby
.
I've tried to taken wallaby out completely from the Gemfile
, config/routes.rb
, config/initializers/wallaby.rb
, and if I made any changes to Objective
model and visited GET "/objectives"
, when Rails reloaded, this warning came up. And if you take a look into the list of constants that Rails maintains by using:
ActiveSupport::Dependencies.autoloaded_constants
You will see that Objective
is in the list, but the ObjectiveHierarchy
created by closure_tree
is not captured by Rails Dependencies. Therefore, on every reload, ObjectiveHierarchy
will not be removed by Rails before it gets recreated.
from wallaby-rails.
@tian-im oops, sorry about that. I tried removing wallaby as well and was not able to duplicate the warning. I'll close this ticket.
Thanks for taking the time to look into this.
from wallaby-rails.
No worries :)
from wallaby-rails.
FYI, I posted an issue here on closure_tree: ClosureTree/closure_tree#362
from wallaby-rails.
👌
from wallaby-rails.
Related Issues (20)
- Unable to perform "or" search with nil HOT 4
- Error: primary::SchemaMigration is not a valid Class name. HOT 5
- Support Webpack HOT 6
- Reloading slow in development HOT 7
- Demo website sign in is not working HOT 10
- Preload `ActiveRecord::SchemaMigration` before ActiveRecord mode starts finding all models HOT 1
- Support ActionText HOT 1
- Specify Bootstrap v4 HOT 4
- Singleton can't be dumped error in Rails 7.0.1 HOT 17
- Missing translation in 6.1.4 HOT 2
- Object is not decorated error in Rails 7.0.3 HOT 5
- Ruby 3.0+ support HOT 5
- Decorator not set in Rails 7.1.2 HOT 18
- Unknown enum attribute HOT 15
- Mono Repo HOT 11
- Application controller config not inherited HOT 4
- Large Text in 7 Beta 2 HOT 3
- Exception ignored when loading decorator HOT 14
- Slow Loading in Wallaby 7.0 HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wallaby-rails.