Skip to main content
0 votes
0 answers
84 views

here is my aim : implement a Content Security Policy backend side and apply it frontend side through the browser. here is the issue : none of the rules set up are effective frontend side. What I tried ...
Ju lien's user avatar
  • 11
0 votes
0 answers
53 views

I have a .env.production file in which I have VITE_BACKEND_URL=http://www.example.net/api. This is the structure of my application /MY_APP /app /frontend /src /public vite.config.js ...
Maxime's user avatar
  • 357
0 votes
0 answers
155 views

I have a Rails API using Devise JWT for authentication. When trying to login using Postman it works like a charm: But when I call from my Swift app, I have a 401 Unauthorized with invalid credentials....
jdps's user avatar
  • 359
0 votes
0 answers
45 views

I have tried using procs for conditionally rendering the relationships but it does not work. What can I do to render the relationships conditionally class ProductSerializer include JSONAPI::...
George Maharjan's user avatar
0 votes
1 answer
531 views

I am trying to deploy my rails api-only app on render. When I effect changes and push to github, it builds successfully, but does not deploy. The error is "./bin/rails: Permission denied" &...
Prius2055 Prius2055's user avatar
0 votes
1 answer
103 views

I am developping an application with Ruby on Rails for the backend and Vuejs for the frontend. Rails is being consumed as an api. Vite is the frontend server. When I launch my application, rails s (in ...
Maxime's user avatar
  • 357
0 votes
1 answer
35 views

I have two models that I want to manually associate or dissociate on demand. class Car < ApplicationRecord has_many :wheels, dependent: :nullify end class Wheel < ApplicationRecord ...
SJU's user avatar
  • 3,322
0 votes
2 answers
117 views

I have an issue with a conditional query I've written in a Rails application. Currently I have Stores being queried if certain locations (location_north, location_south, etc) are true and if certain ...
Terence Devine's user avatar
0 votes
0 answers
79 views

Some context: I am trying to construct a postman request that I will hand off to a mobile developer. The mobile developer will use it as a template for implementing some functionality that involves ...
ohhh's user avatar
  • 707
1 vote
1 answer
120 views

I have a web app built with a Rails API to collect submissions. I have a form being submitted that sends an email lead to certain Stores that have matching attributes (location, size, etc). They are ...
Terence Devine's user avatar
0 votes
0 answers
58 views

My rails API uses active storage to upload a given user avatar image to s3 service storage.yml amazon: service: S3 access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %&...
g_ap's user avatar
  • 83
-1 votes
1 answer
423 views

I want to know what all functionalities are restricted in API and will there be any difference in speed if we use Base in place of API. I searched many places to find the difference between those two ...
Mittu Rajareddy's user avatar
0 votes
1 answer
3k views

I have a Nextjs 13 frontend using the App Router setup and a Rails 7 API-only backend using Doorkeeper for authentication. I have a new product form that makes use of a Nextjs "server action"...
baconsocrispy's user avatar
0 votes
1 answer
597 views

I am pretty new to ruby on rails, I want to add sessions back to rails 6 API app such that I get the current_cart id in session, if the the id does not exist in session, it goes on to create a new ...
mutebi godfrey's user avatar
-1 votes
2 answers
192 views

Everything ok? I created a react application that communicates with a rails api. It is a very simple application, but there is this communication between react and api. My question is… Do I need to ...
Diogo Amaral's user avatar

15 30 50 per page
1
2 3 4 5
51