Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

while using Mechanize gem in rails and fetching the site https://www.reuters.com/ its giving -> Failed to fetch page: 401 => Net::HTTPUnauthorized for https://www.reuters.com/ -- WWW-...
Yuvraj Chaudhari's user avatar
2 votes
1 answer
72 views

There is a Rails 5 application that runs in Heroku; it has two DBs, a Primary and a Follower (read-only), the follower is the replica of the Primary. In some application areas, we use followers to get ...
Developer's user avatar
  • 671
0 votes
0 answers
113 views

I'm upgrading a Rails app from v5 to v6.1.7 (ruby:2.7.7), but I have a problem with active_record_store for sessions at start up when running locally in Docker. I've installed the 'activerecord-...
Barry's user avatar
  • 351
0 votes
1 answer
188 views

I am attempting to use webpack-dev-server with my Rails 6 application, and using the configuration below, I am getting some odd behavior. When I change an asset file, the webpack container does run, ...
Jesse Farmer's user avatar
1 vote
0 answers
46 views

I am using rails 6.1.4 and added transalations table to post via this migration class TransalatePosts < ActiveRecord::Migration[6.1] def change def self.up Post.create_translation_table!...
Krapi Rastogi's user avatar
0 votes
1 answer
137 views

I have lockbox v1.3.3 / blind index v2.3.2 gems installed (have to use this version, can't upgrade at the moment). I am using rails 6.0.3.2 and ruby 2.6.9. I followed these steps: https://ankane.org/...
sckdd's user avatar
  • 109
0 votes
1 answer
109 views

I use devise_invitable (2.0.6) invitation_accepted? returns FALSE in after_invitation_accepted CALLBACK but when I pause here and check in rails console it gives me true for invitation_accepted? user....
praaveen V R's user avatar
  • 1,261
1 vote
0 answers
94 views

I'm currently facing a problem in my project. I'm on Rails 6.0.4.8 and Ruby 2.6.8. The issue I'm running into is that I would like a user to be able to delete a notes record by clicking on an icon but ...
Richard Wright's user avatar
0 votes
1 answer
69 views

How to solve this missing params? StaticPagesController: class StaticPagesController < ApplicationController def home end def about @hero_title = 'about_us' end def services @...
Rafi Ferdian's user avatar
1 vote
1 answer
137 views

In Rails, I would like to structure my models such that the main record (lets call it Shipment) has a detail record (base type: ShipmentDetail) that is polymorphic such that the structure of the data ...
Ryan Pierce Williams's user avatar
0 votes
1 answer
93 views

I have a rails 6 app, working fine, using passenger with nginx, but there is log error like this : App 759213 output: [passenger_native_support.so] trying to compile for the current user (www-data) ...
Matrix's user avatar
  • 3,395
0 votes
1 answer
54 views

I'm using rails 6 and ruby 3.1.1 and Rspec It's been a minute since I've written tests, so the syntax is a bit new to me, but "I think" I understand it. A controller create test is not ...
John Cowan's user avatar
  • 1,764
1 vote
1 answer
544 views

module ApplicationHelper def t(*a) translate(*a) end end Case 1 :- t('views.home.welcome_updated', default: 'Updated') => Getting Error: (wrong number of arguments (given 2, expected 1)) ...
Ankur  Kumar's user avatar
1 vote
0 answers
52 views

rails 6.1, ruby 3.1.1 On a form (form_for) I have a drop-down select box using options_for_select in my :sort_order field. It takes a hash and is currently showing colors as the options text, which ...
John Cowan's user avatar
  • 1,764
1 vote
2 answers
292 views

I'm in the process of migrating a legacy Rails 5.0 app to (hopefully) 7.x. I got to 5.2.x without too much trouble. I'm currently trying to upgrade to 6.0 and I have a problem with controller actions ...
Mark Thomson's user avatar
0 votes
2 answers
54 views

I create an update method based on the creation, the only difference is in changing the stripe method, but unfortunately I get an error, although the logic is identical update_feature_plans_job.rb ...
antnbaranov's user avatar
0 votes
0 answers
20 views

When I included gem devise in my project and wrote the bundle install command to the console, in order to install all the gems in my project, I got the following error: An error occurred while ...
Vasily Navalnii's user avatar
1 vote
1 answer
184 views

I am attempting to work-around a performance issue with a 3rd party library (acts_as_taggable_on). For the one model that uses this extension, it has a N+1 Query problem where it will make one or more ...
Ryan Pierce Williams's user avatar
2 votes
0 answers
1k views

I have faced an error "No unique index found for id" while trying to use Upsert all. But isn't ID a unique index by default? Initially we have created our application in rails 3 and now we ...
Dhivya 's user avatar
0 votes
1 answer
907 views

Our Rails app has some operations with very high database load on Postgres views, which we would like to spread out across multiple replicas. The docs initially suggest that any given model can only ...
niborg's user avatar
  • 419
0 votes
1 answer
130 views

I'm trying to create functions and stored procedures inside RoR project MySql database, these objects are needed for me to import historic data from the old platform the customer is actually running......
coppola_f's user avatar
0 votes
0 answers
65 views

Description: I'm using Rails 6 for my application, and I've encountered an issue when making a POST request to a nested controller. Specifically, when I try to submit a POST request to localhost:3000/...
Pardeep Saini's user avatar
1 vote
3 answers
244 views

I have a Rails 6 application. class PostsController rescue_from MyException, :handle_my_exception around_action :my_around_action def create Rails.logger.info "Executing create code&...
Omkar's user avatar
  • 112
0 votes
1 answer
358 views

I am using rails Shopify API and using Storefront API to get the products from Shopify. We have a lot of tags applied on every product. I want to get all the products that include the tags, either &...
Mubashir Kamran SW Engineer's user avatar
1 vote
1 answer
39 views

I'm using Rails 6.1.7 and active_scaffold latest version with a very basic tutorial one model app, I get this message on the form top when a record is created: Created #<Docket:0x0000013800ec4df0&...
DenisM's user avatar
  • 13

1
2 3 4 5
42