
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

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 16.04 Xenial Xerus Discussion
91
General
This is not working on Xenial Xerus because there is no packages for Ubuntu 16.04 in Phusion Passenger repositores yet.
Alex Hendershott replied

Liking Posts Discussion
96
General
Learned a lot of new things through this post, thank you. Never knew how to properly write a route to a module or the proper architecture for that set up. Very useful stuff. Would have liked to s...
Someone replied

Setup Windows 10 Discussion
236
General
Hi,I got all the way through this so thanks for the walk through! I run "rails server -b 0.0.0.0" and the server boots fine but when I go to localhost:3000 in the browser, the browser icon spins bu...

Webpack and Purge CSS
0
Javascript
Hi All,
I am trying to purge my css as I am using tailwind as outlined in the video Chris did. I'm getting an error.
**postcss.config.js**
let environment = {
plugins: [
require('tailwindcs...
Stephen Sizer posted

Webpack-cli package 3.3.12 -> 4.1.0 upgrade breaking Webpack
0
General
Running into an issue with package upgrade with Webpack-cli from 3.3.12 to 4.1.0
This breaks my local environment for running the `web-development-server` command.
Lots of info here: https://gith...
Tony Dehnke posted

Webpack Bundle Analyzer Discussion
2
General
Cant wait for the split chunks episode!
Marc Köhlbrugge replied

How to use Webpack require.context Discussion
1
General
This video came out at the perfect time--I just started splitting up my public/private controllers to lighten up the assets required to view amd interact with my website, and I was having a hard ti...
Carl Tanner replied

How do I add Webpack config to Rails?
0
Rails
I'm following the installation guide of Vuetify and it requires me to add the following to `webpack.config.js` but since Rails has no such file, how should I go about adding these rules?
```
modul...

delete not working after using webpack
0
Rails
I have a rails 5.2 app, which run in a good way. After I followed the lesson about real-time group chat and used web pack, all the delete methods in my app are not working now. What are the possibl...
yy00809 posted

Any Javascript wizards open a one off job fixing upgrading webpack and fixing upgrading page performance on an e-commerce app?
0
Javascript
Pretty much says it all in the email. Legacy code, JS is a nightmare and in urgent need of an upgrade. Rates are flexible. Email me if interested: ams@keemail.me or im askl56 on GR Slack
Andrew Scott posted

How do I use .vue (single file componenets) with rails 5.1 and webpack?
1
Javascript
I've been struggling with this for several days now and I can't get the component to render any data.
```
{{ greeting }} World!
module.export = {
data: function (){
return{
...
inopinatus replied

How do I import recurring_select in Rails 6?
1
Javascript
I keep getting the following error:
Uncaught Error: Cannot find module 'recurring_select'
at webpackMissingModule (application.js:1)
at Module. (application.js:1)
at Module../app/java...
George Kettle replied

How to troubleshoot esbuild in Rails 7
0
Rails
With the arrival of Rails 7.0, i have tried moving from webpack to esbuild but struggle with it.
I know that theoretically, creating a file jquery.js and importing it in application.js
import jque...
Vorkosigan76 posted

Go! Svelte + Sapper + Rails
1
Javascript
Hi, Chris! Let's start learning Svelte + Sapper ??
Plus!!!!
AA replied

Curious about the opinions for others about the ease of managing javascript/styling with Rails 7.1
0
Rails
Are things working as you expect? Does anyone have any experience moving from Webpack to esbuild or importmaps? Have you done this with a non trivial application using various javascript libs and s...
Doug Mathews posted

Knowing you're probably preparing some episodes on Hotwire, here are some questions
3
General
* how do you install it with Rails 6.1 and most common use case (webpack setup)
* is Turbo a drop-in replacement for Turbolinks?
* what would it take to replace Turbolinks with Turbo in existing (6...

Page blinking when using tailwindcss
1
CSS
Hello guys,
I am trying to use tailwindcss on a 5.2 ruby on rails application with webpack. Everything is set up and works well according to the video [How to use Tailwind CSS with Rails](https://...
edouard replied
Solved

Uncaught Error: If you load both jquery_ujs and rails-ujs, use rails-ujs only.
0
Javascript
I have a rails 6.1 application that uses jquery. Here is how I'm importing it in my config/webpack/environments.js file:
$: 'jquery/src/jquery',
jQuery: 'jquery/src/jquery',
jquery: 'j...
Tripscape posted