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

I've recently upgraded my app to Rails 5.2 from Rails 4.2 and I'm seeing some fallout in my in my contrioller tests. In the Rails 4 engine, the value of the request.fullpath in my test case returns as:...
0 votes
0 answers
52 views

Issue: I am using Rails 5.1.4, Ruby 2.5.1, and ActiveAdmin 1.2.1. My application has around 400 ActiveAdmin resource files, which is causing performance issues. The admin panel loads very slowly, ...
-1 votes
1 answer
47 views

In my Rails 5 project I have 3 models, User, Book, and UserBook. Basically the user_books table is a connecting table connecting users to books. This is my UserBook model class UserBook < ...
-1 votes
1 answer
64 views

In my current ROR application, I'm using both ENV variables and RedisDB variables as well. For a single change in ENV variables, I have to restart all servers; by this, lots of jobs fail (dirty exit). ...
1 vote
1 answer
55 views

I have a single attribute in the entities table called reporting_name. I need to display two different error messages based on business logic for different sites. If validation fails for the ...
0 votes
1 answer
79 views

I have to migrate assets(images) from Rails ActiveStorage uploaded file to S3 into my another WordPress website. However, it seems the filename is they Blob key similar to as below: ...
0 votes
1 answer
55 views

I'm trying to execute this statement of Rails Cache in console: Rails.cache.fetch('some_other_key', expires_in: 24.hours) { 50 + 50 } It is throwing error like this: ArgumentError (wrong number of ...
1 vote
1 answer
69 views

I am trying to follow/reproduce this tutorial here https://gorails.com/episodes/referral-program-from-scratch?autoplay=1 Code is here: https://github.com/gorails-screencasts/referral-program So far my ...
1 vote
1 answer
112 views

Rails 5, ChartKick 5.0.5 => ChartJS 4.4.1 I have a curved line chart in ChartJS that plots about 0 on the Y axis with separate maximum threshold for positive values and minimum for negative values (...
1 vote
1 answer
301 views

I have a line of code: @coverage_class.where(original_id: coverage.id, waiting_for_doc_requests: false) and my unit test is doing the following expect: mock = Minitest::Mock.new mock.expect(:where, :...
0 votes
0 answers
54 views

I have button which submit login form. This button generate POST request for my session controller Started POST "/login" for 127.0.0.1 at 2024年04月03日 10:49:13 +0300 Processing by ...
0 votes
0 answers
120 views

I'm working on a rails application which is built on rails version 5.0.2 and ruby version 2.5.8. The database used for this is mysql2 version 0.4.10. I also installed the mysql service which is on ...
0 votes
1 answer
38 views

problem overview I have a client with an App I'm trying to get to Rails 5. Historically we modified the activerecord-jdbc-adapter to access a Progress OpenEdge database, and it's been working since ...
0 votes
0 answers
225 views

Model looks like class Campaign < ActiveRecord::Base before_update :delete_triggers def delete_triggers Trigger.where(campaign_id: id).delete_all end end and in the controller I do ...
1 vote
1 answer
306 views

I'm developing a Rails application where I'm utilizing the Karafka gem alongside the Rails server. To enhance traceability, I've successfully configured Rails to include a tracking ID for incoming ...

15 30 50 per page
1
2 3 4 5
...
627

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