What is the purpose of node_modules folder in rails 6?

1
Rails
What is the purpose of node_modules folder in rails 6?
Thomas Blumenfeld replied

Rails 6: Separate styles and layout for dashboard and main (front) site

1
Rails
I will try to explain my issue as much as I can. I hope you guys can understand and give me an idea / help me. So I am working on a practice app. There are two separate bootstrap html/css design...
Thomas Blumenfeld replied

Sending Alerts Based on Threshold

0
Rails
I am building an app wherein user can create an alert based on current value of average or sum of table column. For example if SUM of column A is < 100 a notification should be sent to receipie...
Paulo Avelino posted

Working with Lists from a Database

1
Rails
Greetings, I am learing Ruby on Rails as I'm migrating a legacy app from PHP. I'm just a beginner in ROR, and having trouble setting up the simplest of relationships. In simplest terms, I have a ...
Brad Morrical replied
Solved

How I do use Rails.ajax in vueJs components using webpacker in rails 6

2
Rails
I have created the brand new application in rails 6 with webpacker and VueJS. I am trying to use the `Rails.ajax` to send ajax request request from Vue component to rails controller. I have include...
Marco Beffa replied

Adding external .js files to a new Rails 6 web app

1
Rails
I have created a new rails 6 app. in rails 6, javascript folder is outside assets. I have copied all the css and js files from an existing application to this new one and application.css,applicatio...
Safwan SM replied
Solved

Distribute Records Uploaded Evenly to Devise Users

0
Rails
If we have multiple users i.e 10 that each check records in index view, which are updated daily via a csv upload, any thoughts on a good way to distribute those records evenly, to spread workload?
Daniel Chapman posted

How do I implement a comment section into my rails app?

0
Rails
So I followed a tutorial on Youtube so that I could make a simple video sharing website such as Youtube itself -> https://www.youtube.com/watch?v=uV1hWKtza0g I want to inplement a comment secti...
Hilldamn posted

`Redirect from naked domain to www from inside the routes doesn't change the domain in the address bar - because of Turbolinks?

2
Rails
Hi, I am trying to force a redirect from naked domain to www from inside the Rails app, since I can't do this with the Nginx ingress in Kubernetes (basically, users can add custom domains and the a...
Vito Botta replied
Solved

Delete images with active storage in rails app?

2
Rails
I am using this tutorial ->https://www.youtube.com/watch?v=fJ8kD4de72Q. So I followed the Youtube video and it worked perfectly, but I want to add a feature so that the user can to delete the pr...
Hilldamn replied

Streaming remote files to S3 🤔

0
Rails
For each user request I need to save two remote files to AWS S3. I have the remote URLs of each - one image JPG ~100KB and one audio MP3 ~1.5MB. I know I can do this by downloading each file to `t...
Daniel Weaver posted

how to set up rails with postfix

0
Rails
Action Mailer How to setup Rails with postfix send only email
ankhnaton posted

How do I display just the year in a sect date?

2
Rails
Good day Rails Devs, What's the proper way to dsiplay just the year in: ``` <%= form.date_select :year %> ```
Rob Thomas replied
Solved

How do I allow the owner of a group add new moderators?

1
Rails
Hi, I am trying to develop similiar functionallity to Shopify where the owner of the store can add new managers to the seller account and allow them to manage orders. However, in my case its just `...
Taylor Cooney replied

Hey, Guys. How to create the form on cucumber? I have met this error.

0
Rails
undefined method `create' for Task::Form:Class (NoMethodError) ./features/step_definitions/edit_details_steps.rb:3:in `"I am on the edit multiple-choice task details"' features/task/de...
denissiletsky posted

How do I drag and drop an image file?

3
Rails
I have a rails application that can upload an image using CarrierWave and MiniMagick and a file_field. This seems to be the usual way to do things and works well. I have a user that wants to open...
William Jones replied
Solved

Sidekiq + Action Mailer

2
Rails
I study Ruby on Rails and I have a one-page simple application that will send emails to people. In the form on the page, a person enters the time and date when he wants to send an email. deliver_n...
Michael Kogan replied

How can I create a user specfic page?

1
Rails
So I'm kind of struggling with understanding how a system like this could work. What I need to know is how can i create one page and multiple devise gem users, then have this page draw individual i...
Chris Oliver replied

Push changes to Node packages to Heroku

1
Rails
Okay, full disclosure, I upgraded to Rails 6 without fully understanding the consequences of using Actiontext and Webpacker. It's all new to me. So in my folly, I changed some of the Trix css direc...
Dan Donche replied

How to get ngrok working with webpack-dev-server

2
Rails
I run my local dev site on ngrok and the webpack-dev-server spits out errors to the console on a regular basis: `GET https://localhost:3035/sockjs-node/info?t=1566173800826 net::ERR_CERT_AUTHORITY...
Ghar replied

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

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

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