I am trying to get a Sinatra app running on a Digital Ocean droplet. I have started the Sinatra app running in var/www/myapp.com. I have confirmed t ...
I am trying to get a Sinatra app running on a Digital Ocean droplet. I have started the Sinatra app running in var/www/myapp.com. I have confirmed t ...
In a Sinatra app, I have many routes that use a date. They are all formatted: get '/foo/:bar/:year/:month' do # code end I want to create a bef ...
I have an API built with Sinatra. When a user logs in, the application checks the login and password and sends a jwt_refresh_token in a cookie to the ...
A User class has many devices and deleted_devices. Relationships of User Class: Consider user1 object of User class. When I destroy the user1 by us ...
I am running an Ubuntu 22.04 server on Linode and trying to deploy a simple Sinatra app using Apache with Puma, but currently, I am only able to displ ...
I am currently running into a problem where on my local machine, I can create and insert a record into a table called Devices but on my heroku deploy, ...
I have a Sinatra Ruby app with the ActionMailer gem for sending emails. The email sending functionality works fine, but I can't figure out how to use ...
I’ve deployed my Ruby app on Heroku, however when looking to register or login I’m having an internal server error. My app is built on Sinatra and Rak ...
I have the following server.rb file: and the following invoices_controller.rb file: But when I try to run the server I get the following error: ...
I have a controller that works without a table in the database. At the moment, there is an action index that performs a request to the api from which ...
I have 4 Classes (Song, Review, Artist, and Genre). I'm displaying, on my frontend, a display of songs where each song gets a card. That card displays ...
I have some code I am maintaining that is using the logging ruby gem. I would like to use the linux logrotate tool instead of the gem to rotate the lo ...
I know Sinatra is not super concise when it comes to this topic. To pass an array of values to a GET controller through query string I'd have to do: ...
My code is giving me the no such column error on my update function. It's returning the right output but still giving an error. I'm just want the upda ...
I have a basic Sinatra app, I'd like to serve a yaml file so that it can be read by a gem via http. I'm just able to download it: But how can I ju ...
Two applications, one using Puma 4.3.4 and one using Puma 5.6.4, have both started failing with the same error: Puma 5.6.4 gives no backtrace, but ...
I'm trying to set up remember me functionality for a simple Sinatra CRUD application. I have found answers that explain how to structure this with th ...
I have a Sinatra app which runs ActiveRecord by using the activerecord and sinatra-activerecord gems. I would like to use ActiveRecord encryption, but ...
I am getting ERR_EMPTY_RESPONSE in the browser after lunching the Sinatra container in docker. If I connect to the docker container and run curl local ...
I'm creating a simple and portable web application with Sinatra on Ruby, and I'm letting the system find an open port for the server to use with the f ...