Comments (3)
I'll just add that the console.log message does not show up. It's not being called.
from rails.
Nothing in that release might have broken how assets are loaded. Did you try to downgrade to check if it is really 7.1.3.2?
from rails.
The cuprit is me, I'll explain in a minute.
I created a new rails app using all the defaults + database and css tailwind.
- I created a home controller with only index and show actions
- Created a menubar with link buttons to the home and show actions and my flash div
- Added the stimulus flashIt controller
- Added flash.now.notice = "You are now showing something" to the show action
Clicking on the show button worked. (showed the flash message in the menubar). No load error.
The explanation is that I was toying with the idea or rewriting a 10 year old app from scratch. While I kept it up to date, it still had a lot of old stuff. Convoluted methods, poorly written CSS, etc.
The new app I created (actually several times!) skipped some stuff (jbuilder, action_text, etc) that I didn't think I needed.
Apparently I skipped something that didn't mix well with Stimulus. Before the Stimulus problem I had other problems I could not explain. It took a while to notice that if running bin/dev and I hovered over a link, I could see a query being executed in the console. I first thought it may of been something new, but it was actually doing queries for the link I was hovering over. Even saw errors in query that were not display.
That was the reason for trying new apps several times.
I have no earthly idea on what I skipped that would cause the problems I was seeing. Things like something redirecting to the root path, TURBO would render and add to the index versus replacing it.
I guess I won't try skipping stuff that I'm not sure where its linked into the Rails.
Sorry for the bad issue, I'll close it.
from rails.
Related Issues (20)
- Association klass with same demodularized name raises error when demodularized class is undefined
- Blog sample failing on windows 11 HOT 4
- Rails 7.2: Memoization of the ActiveJob adapter class happens too early HOT 2
- Rails 7.1 raises exception while trying to increment counter cache on model using CPK HOT 1
- Rails 7.2: Parsing tests with prism makes it impossible to run spec-style tests by line number
- Ability to split locals magic comment into multiple lines
- `EarlyHintsRequestTest#test_when_early_hints_is_set_in_the_env_link_headers_are_sent` fails with since https://github.com/rack/rack/pull/1831 HOT 2
- Command `rails devcontainer` failed - missing templates HOT 2
- `.pluck` with multiple sql fragment arguments using `min` incorrectly casts types when using PostgreSQL HOT 2
- accepts_nested_attributes_for doesn't account for records that are marked for destruction when validating uniqueness HOT 2
- Composite key relations raise when calling `include?` HOT 1
- rails restart doesn't work with puma HOT 3
- Missing documentation for "fixture" method
- [Rails 7.1.3.2] Invalid CSRF Token when submitting a form with data-turbo="false" when Turbo Drive is enabled HOT 2
- [ActiveRecord::Encryption] ignores key_provider in with_encryption_context HOT 4
- [Rails 6.1] Rails 6.1 vulerable to CVE-2024-34341 (trix and actiontext) HOT 1
- The password field is ignored when I use fetch or require #52010 HOT 1
- [Guides Enhancement] Add Search using Algolia or similar
- Database references and ActiveRecord references not match HOT 3
- Would be nice to be able to specify a table to use for `references` columns when generating a migration HOT 3
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 rails.