Ruby on Rails Community Forum

Plan limits

0
Rails
I'm currently building a sass product that has three plans beginner, intermediate and advanced. This is then linked to a stripe subscription product. Each plan has limits eg. the number of team me...

Creating Custom QR Codes like SnapCodes or Messenger Codes?

1
General
I'm wondering how I could create something similar to SnapCodes or Facebook's Messenger Codes. They're the same concept as QRCodes just a bit more aesthetically pleasing. I've been searching for a ...
Kelri Mrein replied

ROR version to have a fine database management

0
Rails
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 big...
jean posted

Using form_with produces odd results for nested namespaced resources.

0
Rails
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_with`...
Chris Born posted

Unsafe-inline

2
Rails
My apps need the following settings to get working: script-src 'self' 'unsafe-inline' style-src 'self' 'unsafe-inline' unfortunately this doesn't pass the pen-test and they requested to remove the...
RyanJeff replied

Jumpstart throwing error after install

0
General
Hello, I created a new app using the jumpstart template but I am getting this error when I start my server "Sprockets::FileNotFound in Home#index" "couldn't find file 'trix/dist/trix' with type 'te...
oomis posted

Correction for guide installing rails + mysql on ubuntu

0
Site Feedback
I believe this part of guide is longer correct sudo apt-get install mysql-server mysql-client libmysqlclient-dev should be default-mysql-client default-libmysqlclient-dev
Jeppe B. Svendsen posted

docker mysql

1
Rails
Hey guys i was wondering if you ever get to connect a rails app in local host without dockerizing it and be able to use a docker image of mysql with it.i already got the mysql image running in dock...
KevinNafziger replied

How to upgrade from Turbolinks to Hotwire & Turbo Discussion

12
General
Hey Chris, thanks for going over Turbo and StimulusJS 2.0 changes, I'm really excited about using them in my projects! One really big thing that would be great to cover is using dialogs/modals wit...
Thomas Connolly replied

Validation Errors Not Showing in Views

1
Rails
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

0
Rails
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 "5F944B027F7FE20919...
Mustafa Rasheed posted

How can I get more options to get work for ROR web development?

1
Ruby
Is there any place where I can get good work for Ruby development?
William Kennedy replied

RailsCasts or GoRails?

0
General
To whom should I give my 9$? Consider that RailsCasts.com is inactive for almost two years.. Hey everyone, [showbox](https://showbox.tools/) I read the beginner FAQ, but i am so confused on many ...

How do I implement a folder division with active storage and s3?

0
Gems / Libraries
I am working on a project that involves multiple sections where files can be uploaded. The general idea is that depending on the section where I upload a file, I generate a path in s3, something li...
Nicolas Giovanny Infante Rodriguez posted

How do I create image optimization for Active storagea with Amazon S3 file storage?

1
Rails
I want to build posting with image comments web project and included vary of image show cases styles. In case, I implemented that image file upload using Active Storage but it really slow for show...

How To Handle Timeout Error In Ruby On Rails?

0
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 er...
Allen Arlene posted

Is 'js.erb' approach obsolete? What are the alternatives?

1
Rails
Just like in the title, is using js.erb a bad practice? What are the best alternatives to manipulate the DOM? I am trying to understand when to use each approach correctly, like stimulus or turbo s...
Chris Oliver replied

VS Code Rails Dev Environment issue - html.erb files allow missing closing tags

0
General
Hello. I am a JS developer doing a crash course on Ruby/Rails for a job interview. They're slowly moving from a Rails backend to Node, so I need to be able to understand and work with the legacy ...
jmtucker7 posted

Can you help me out where is the knowledge gap in my skills?

0
Javascript
I was at the last stage of for a full stack JS role. I was asked to do a technical challenge and I think my solution to that was not met the expectation. I decided to learn more details about react...
Scott104 posted

Jumpstart Database Credentials

0
Databases
What is the username and password for the Postgresql database?
Haig Douglas posted

Learning Ruby on Rails? Join our newsletter.

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