Skip to main content
1 vote
0 answers
43 views

I'm trying to use Mobility in the Ruby in Rails app with a non-ActiveRecord model by defining a custom backend following the example mentioned here. However, despite specifying the backend in the ...
Meri Gogichashvili's user avatar
0 votes
0 answers
44 views

I am creating a ruby on rails project but my javascript files are not loading prperly.Running rails assets:clobber and then rails assets:precopile gives following error. $ postcss ./app/assets/builds/...
ANN17298's user avatar
0 votes
0 answers
70 views

I'm trying to enforce a boundary in a Rails app: only code within the namespace Boundary should be able to access the class Boundary::Blackbox. This works alright when it's defined outside of an ...
Jellicle's user avatar
  • 30.6k
0 votes
0 answers
75 views

I am a newbie and would need some assistance. I added devise gem to my Instagram clone app and added "sign up", sign in", "sign out", and "edit profile" links onto ...
Dessy's user avatar
  • 1
0 votes
0 answers
62 views

I have an API endpoint to pull a big JSON blob from one of my models, and it works, but I'd like to improve it. The current implementation is below, and mostly just works using built in associations. ...
valenumr's user avatar
0 votes
2 answers
160 views

I am working on writing a test case for a model Benefit. The class file contains an after_commit callback which calls a method update_contract. It also has belongs_to :contract, touch: true. @contract ...
Bharat Kumar Anand's user avatar
0 votes
1 answer
90 views

I know there's some threads about this but, from what I saw they are quite old and can probably be outdated. I'm using devise and devise_invitable. The idea behind it is to allow admins and teachers ...
jccsag's user avatar
  • 31
0 votes
1 answer
100 views

Input Image I'm encountering a "406 Not Acceptable" error in my Stimulus controller's fetch request. The controller is responsible for making an AJAX call to an endpoint, but it seems the ...
Yadnyesh-Dashpute's user avatar
0 votes
1 answer
97 views

What each_with_object does? Where it get opts? https://github.com/bodrovis/lokalise_manager/blob/master/lib%2Flokalise_manager%2Ftask_definitions%2Fbase.rb#L23 primary_opts = global_config ...
user avatar
0 votes
0 answers
143 views

I am using ruby '2.5.9' and rails '4.2.11.3'. I configured all needed things for this gem. I have db with column "password_ciphertext", In model: "has_encrypted :password". When I ...
Rom4ik617's user avatar
0 votes
1 answer
144 views

I'm aware POST requests aren't meant for navigation but I just want to check if what I've been tasked with is possible. I have a page in my Rails app - let's call it cars#index. I'm required to make ...
s89_'s user avatar
  • 1,753
1 vote
2 answers
134 views

So i have a flag to disable and enable a feature. and will based on the variable it has to toggle the flags flag_a, flag_b, are my two feature flags and the variable input string can be none, all,...
tech spam's user avatar
0 votes
0 answers
36 views

Just a question, I am Front-end Developer, newbie Backend I saw one day my QA colleague viewing tables from rails admin which was deployed for Backend Testing. So was that MySQL tables, can't we do ...
gurf2's user avatar
  • 11
1 vote
0 answers
221 views

I work on a Rails project and I seem to have a route or controller problem which I do not understand. This is the error I receive: uninitialized constant Games Object.const_get(camel_cased_word) ^^^^^^...
Laure Dev's user avatar
0 votes
0 answers
74 views

I have a very small ruby script that I need to run in scala either by straightway running the sript which according to resources online is possible through org.jruby but the dependency doesn't work ...
Rudrani Angira's user avatar

15 30 50 per page
1
2 3 4 5
2446