How do I deploy a Rails API server to an Ubuntu 20.04 server using to nginx
I have an Ionic Angular App which makes requests to a Rails Api server. On my local development machine everything works fine. The Rails Api server is accessible via localhost:3000/api which the...Kiffin Gish posted
Question on getting started tutorial
I'm not an expert, but I would like to help you. It's difficult for me to understand at what point your error occurs. Could you record the screen? Perhaps it will be easier to solve with the video.Immase replied
Trello Clone with VueJS and Rails
Wondering if anyone could shed any light on how to only return cards for the logged in user? So basically when a user goes into that board, he would only see the cards he has created.Alan Reid posted
Pagination with Stimulus
Glad to see I'm not the only one suffering with turbo(links) and search/pagy... I've disabled it globally, enabling it on links that would benefit from it.Cory Johnson replied
eager loading with custom joins
problem statement: Can I write a custom join for the included association? e.g. Course.includes(:course_details).joins(left outer join course_details on course_details.......) I want to add m...Daud Sadiq posted
How do i can add text-alignment to trix ?
Hello. Im trying to add text-alignment functionnality to a trix rich-text editor in a rails 6 app (its for a blog). I find somes example on stack overflow or trix github about adding colors, h ...Bourquardez Joachim posted
Contact form that sends email directly from the page
Hi Kyle, could you send a link for this tutorial, pls ?Bri replied • Solved
How do I set up webpacker for production environment?
Im running my project first on my local machine using Production environment before deploying to production to make sure all is running fine. im using docker with Rails version 5.2 and webpacker v...Dev posted
What it looks like is any sort of "image (jpg, SVG, maybe fonts, etc...)" reference in a CSS file, for example, ```background-image URL("someimage.jpg")``` is not being picked up / path issue.?. He...Mountaindog replied
rake assets:precompile - JSON::ParserError
Hey I had a very similar error, followed most of the same debugging steps. What actually turned out to be throwing the error was an overlooked "" in one of the views wrapping an erb tag in a javasc...Weston Ellis replied
ROR version to have a fine database management
Hi I use a very old ROR (2.0.2) and ruby 1.8.6. I would like a fine database management. What is the ROR recommended version for you? Of course the last, but if possible, i don't want to make a b...jean posted
Using form_with produces odd results for nested namespaced resources.
I'm having an issue with sharing a the `new` and `edit` form for a shallow nested resource in a module/namespace. Most everything works as expected. The issue I'm running into is using `form_wit...Chris Born posted
hi roberto, i don't know to achieve this, but I am curious if you figured out any answers. I am doing work on an older rails app and connecting to mysql using the mysql2 gem has been a challenge f...KevinNafziger replied
Validation Errors Not Showing in Views
I have an app where I got the CRUD functionality working and I added some AJAX to learn how to use it. I changed a class to use AJAX for the delete, edit and show views from the index view. That ...Drew replied
how do I properly set up rails project on my machine
I am not able to set up rails project on my machine. It's giving me following errors when I try to run bundle install P.S: This is my very first time on ruby error: mingw32: key "5F944B027F7FE2091...Mustafa Rasheed posted
How do I create image optimization for Active storagea with Amazon S3 file storage?
Wathon Aung replied
How To Handle Timeout Error In Ruby On Rails?
Can you please help to solve this timeout error? Timeout Error is an exception error thrown when any block of code takes too long to execute, so it terminates its execution by throwing the same e...Allen Arlene posted