in app notifications using stimulus and ujs

6
General
I am attempting in app notifications similar to how Chris did it in the tutorial but trying to update it to use Stimulus but i my data-target doesn't seem to be in scope in the ajax success callbac...
Joel replied

Navbar with Vue.js and webpacker - Flickering at page load 😒

1
Javascript
I have a classic RoR - Webpacker app. On top of Webpacker, we have implemented Vue as our frontend framework and Tailwind as our css framework 👌 Everything is functioning fine. Yet I am not quite ...
Thomas Sohet replied
Solved

Searching and partial keyword matches

1
Site Feedback
Hi Chris, I was searching for the Tailwind + Rails 6 video today, but searching for "Tailwind" did not return it: https://gorails.com/search?q=tailwind I eventually did find the episode here: htt...
Chris Oliver replied

Multiple Device support with Request Variants in Rails Discussion

5
General
Great video as always! How does this method compare with using responsive design with a CSS framework like Bootstrap or Tailwind? Is this a better method if you want a very specific or completely ...
Tabish Iqbal replied

Deploy rails 7.2+

2
Servers
Rails 7.2 dev containers include a compose file, enabling me to run Rails, PostgreSQL, and Redis locally with just Docker installed on my system. So I created run: rails new --rails-version 7.2.0...
Greg S replied

Best practices for structuring reusable frontend components (coming from Angular/React) ?

0
Rails
Hey I'm an Angular developer diving into the Ruby on Rails, and I'm trying to figure out the best way to structure reusable frontend components, like buttons, in a Rails project. Especially because...
Cengiz Gürtusgil posted

Debugging Questions

1
General
Hello, I am trying to help out an open source project that I use. I found an issue and the developer has asked me to help debug the javascript but I'm a javascript hack and not sure how to do it. ...
Michael Bradford replied

Help with Debugging

0
Javascript
Hi all, I am trying to help out an open source project that I use. I found an issue and the developer has asked me to help debug the javascript but I'm a javascript hack and not sure how to do it. ...
Jim Miller posted

How Do I make my website faster (according to Google and Pingdom)

0
General
Hey there Gang, I ran my website via Pingdom Speed Checker Tools (https://tools.pingdom.com/#!/eFyjYP/flagupmail.com) and have found it difficult to fix three things slowing my site down:I am ...
abebraham posted

Rails 7 -j esbuild —css bootstrap running into problems no importmap.rb file generated

1
Ruby
Hi Everyone, Going through the process of setting up a new rails project If I use rails new Rails generates a file importmap.rb in the config folder If I use rails new -j esbuild —css bootstrap ...
jesus12 replied

Rails view_components

16
Rails
Are there any plans on covering view_components? It would be great to see a few episodes on using view_components + tailwind / bootstrap + stimulus & stimulus reflex. Maybe the twitter example...
William Cunningham replied

How do I build a multi step wizard in ruby with StimulusJS

6
Ruby
Hi GoRails, I would like to make a multistep wizard in ruby on rails without making use of the wicked gem. Just stimulusJS and ruby :) Could you make a tutorial about that? Thanks in advance!
Fatih replied
Solved

How to use CSS Variables with Ruby on Rails Discussion

2
General
I asked a question on discord and thought it might be good for it to be here for future reference. https://discord.com/channels/874684608686477352/874684609164640358/958015390347329658 Question: ...
Drema Pulliam replied

How can i install Daisy UI?

0
Javascript
I want to be able to use Daisy UI, but i am reading different ways to accomplish this – making me confused on how to actually install node packages. 1. One way is setting up the CDN, which is not ...

How to get rid of a legacy app?

0
General
Hello, i built my first rails app 6 years ago and there is a lot of things I want to get rid of. The app is still running and actually generating revenue! But it is basically not maintainable anym...
Fabian Hallstein posted

Using Webpacker and Rails on AWS Elastic Beanstalk

10
General
Can anyone point me in the direction of documentation/tutorial for using Webpacker with Rails on Elastic Beanstalk? I have been playing with Tailwind CSS (which is great btw), and I'm getting a ver...
Simon Cooper replied
Solved

Separate JavaScript Importmaps For Rails Engines Discussion

3
General
Good stuff! I have an idea for another episode/lesson: When using TailwindCSS (which is pretty much the standard nowadays) in an Rails app, I found myself wanting to build "plugins" or extended fun...
Mateusz Żołądek replied

How to Add Pagination with Pagy Discussion

20
General
I couldn't have explained it better - even being the author of Pagy. Thank you!
Greg S replied

ERROR in chunk application [entry] js/[name]-[contenthash].js Cannot use [chunkhash] or [contenthash] for chunk in ....

4
Rails
Hello i pass one day to debug this .... I following step by step this tutorial, but when in launch bin/webpack-dev-server https://dev.to/davidteren/getting-started-with-rails-6-1-tailwindcss-jit-we...
Barlow Kasule replied

StimulusJs Modal - render different controller view inside

0
Javascript
Chris, a great screencast would be to use the a global Stimulus Js Modal that you can use to render views inside (say show/edit of controller views) This is something that can/should be part of Ju...
Aaron Xavier posted

Want to stay up-to-date with Ruby on Rails?

Join 89,735+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.