Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
2 answers
55 views

I am using Ruby 1.9.3 with Rails 3.2 (old, I know). I am having trouble with one controller test. The routes work just fine, the only problem is the test. The test is placed in project_root/test/...
0 votes
0 answers
71 views

Below is my stacktrace, and I was facing this issue after rails upgrade. and this issue was happening after deploying my code. I updated the params structure aswell by using params.permit! but still ...
1 vote
1 answer
196 views

Our production rails server receives a post request (hook) from an external service (sparkpost) with the following format data: { ... "subject": "Your RedvanlyCategory: Men’s,<br>...
0 votes
1 answer
1k views

I ran bundle update rails and got this. I'm stumped. If activerecord-session_store 2.0 depends on a version of actionpack between 5.2.4.1 and above, and if actionpack is a dependency of Rails 6, ...
0 votes
0 answers
64 views

This is way over my head. Just cloned down a repo. Updated a few gems, all that seemed to go fine. But when I try to run rails s or rails c I get this error: ...vendor/bundle/ruby/3.0.0/gems/...
3 votes
1 answer
1k views

I understand that calling params.permit(:foo) creates a new ActionController::Parameters instance with :foo whitelisted so that you can instantiate a model with it. But why does the following code in ...
1 vote
1 answer
67 views

I have a class like the following: class Child < ApplicationRecord belongs_to :father belongs_to :mother end My goal is to create endpoints base-url/father/children #get all children for ...
0 votes
0 answers
77 views

I am getting the following errors after upgrading my rails application from 3.1.10 to 3.2.0. rails console is opening fine. And, I am able to execute code in console. However, When I run rails server ...
1 vote
0 answers
139 views

I am trying to download xls file using send_file file_path, :content_type => "application/vnd.ms-excel", :filename => File.basename(file_path) But getting error as "No such file or ...
4 votes
1 answer
2k views

A user recently triggered an error while he was signing up to our website. I've tried to reproduce the error but I didn't succeed. I understand that there is a problem with the "é" character. It is ...
0 votes
0 answers
242 views

When i try bundle update command retrieve this error Resolving dependencies.... Bundler could not find compatible versions for gem "actionpack": In Gemfile: twitter-bootstrap-rails was ...
0 votes
1 answer
226 views

I am raising a ActionDispatch::Cookies::CookieOverflow error. In theory I know why this is happening, my session data is over 4k. However I dont know what in my session would make it over 4k. The ...
-1 votes
1 answer
84 views

I have a model that stores template data and is independent with other models. I want to construct a form where I can view all the records of that model, edit them, delete them and also create a new ...
1 vote
0 answers
555 views

The past few months we are getting this error on production. I can't understand what is causing the error and I can't reproduce it in development. My guess is something related to the session and ...
3 votes
1 answer
795 views

I have an API that accepts base64 encoded images. The requests come in looking like: { image: "ijt41ig8ahbha8oij4j1tjletc" } The base64 encoded strings can be very large, sometimes 10k - 100k ...

15 30 50 per page
1
2 3 4 5

AltStyle によって変換されたページ (->オリジナル) /