Rails & Vue.js Trello Clone - Part 4 Discussion

10
General
I am loving this series! This is such a cool project. The combination of acts_as_list and Vue makes it seem effortless.I had one minor suggestion for the code in the cardMoved function. Rather than...
RafaelB97 replied

Exporting Records To CSV Discussion

58
General
Is there some magic happening when you call @users.to_csv ?? As I understand @users is an ActiveRecord::Relation, how is the method 'to_csv' sended to the User class ??
Nathan Anderson replied

How to Remove Unused CSS Classes from Tailwind CSS, Boostrap, and more with PurgeCSS Discussion

12
General
How does this work with .haml templates instead of .erb?
Trevor Owens replied

Webpack assets doesn't work after deployment

15
General
Hi, I have been using happily rails until I decided to try stimulusJS. In the begining was great. I saw great value using it. The thing is the assets in the pack folder are not compiled when doing ...
Juan S. Caro replied
Solved

Webpacker noob - so I saw your video and im using rails 6

3
Rails
how does one go by installing https://github.com/metafizzy/isotope with webpacker? ``` yarn add isotope-layout ``` ``` require('isotope-layout') ``` now I get an error ``` .col-md-9 ...
Gus P replied
Solved

Infinite Scroll in Rails with Stimulus.js Discussion

25
General
This is super slick. I wonder how easily one could append the query parameter in the URL to reflect the current page? Could `History.replaceState()` handle the job?
Kevin Urbaum replied

rails 6 favicon.ico Webpacker can't find favicon.ico

2
General
app/javascripts/packs/application.js: import "favicons" app/javascripts/packs/favicons.js: const faviconsContext = require.context( ‘!!file-loader?name=../images/favicons/[name].[ext]!.’, true...
Stéphane Paquet replied

Trix editor is not displaying properly in Rails 6

2
Rails
Hello - I have installed Action Text in my Rails 6 app and made corresponding changes to my blog / controller, _form to have rich_text_area show. Problem is that despite requiring actiontext in my...
Rajiv replied

Rails 6 autocomplete with add new

2
Rails
In the past (back in rails 4) I used select2 or selectize to give me the ability to make a text field autocomplete as typed and have the option to create a new item, so basically tagging but only a...

rake assets:precompile - JSON::ParserError

2
Rails
I'm looking for assistance with a mysterious `JSON::ParserError` that is popping up while attempting to build a legacy application with minor upgrades (Rails 3.22 -> Rails 5.2.6). It seems to be...
Weston Ellis replied

How to use Uppy with ActiveStorage Discussion

37
General
Thanks for this!
Brian Carpenter replied

User Referral Program From Scratch Discussion

23
General
Just the thing I was needed for a current project, as usual, perfect timing Chris !
Ajay Mishael 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

Checking webpacker is cause of for time sink

1
Rails
Working on a ruby on rails application. Let's say I make a small change to any class file and make a request to some page on my application. Then my response times are increased by anywhere from 2...

How to use Devise with Hotwire & Turbo.js Discussion

81
General
Hey Chris - If we are still using Webpacker, we just need to change data-turbolinks-track to data-turbo-track in our layout files? In your episode repo, you still have it as turbolinks. <%= st...

How do I find out why Stimulus controllers aren't getting compiled? Asset Pipeline problem

1
Javascript
I updated a Rails 6 app to Rails 7 and changed from Webpacker to esbuild/webpack. Added Stimulus, and after not getting controllers to work tried a basic hello_controller and then searched the appl...
Greg S replied

Advanced Search, Autocomplete and Suggestions with ElasticSearch and the Searchkick gem Discussion

77
General
Chris, this is awesome!I was hoping you'd do a Searchkick/ElasticSearch video since you did the Ransack video!Thanks for all the great videos!

Deploy Ubuntu 20.04 Focal Fossa Discussion

40
General
Thanks for the guide. There is an error installing NGINX on Ubuntu20.04: "The following packages have unmet dependencies: libnginx-mod-http-passenger : Depends: passenger (= 1:6.0.4-1~bionic1) but...
deyes19 replied

I am facing problem in running rails server in ubuntu

1
Rails
Hi folks! As a rails newbie, I am facing some issues in spinning up my rails server. By the way, I have a windows machine and I am creating a linux subsystem by ubuntu. Firstly, its showing my webp...

Having trouble setting up Bootstrap + jQuery + easyAutocomplete in Rails 6

2
Rails
I have been reading articles/forums and followed some guides on how to set it up however I'm still having trouble running bootstrap and jquery. Installed bootstrap, jquery and easyAutocomplete via...
jessezhang replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.