Hi guys I'm working on the longest subsequence algorithm, the idea is to find the subsequence of numbers from an array. I'm using Ruby, so far I'm missing the l
I am using rack-reducer with rails. I am getting the error: #<NoMethodError: undefined method 'order_from_user_input' for #<DataPoint::ActiveRecord_Relati
Say I have the below ruby hash nested hash_or_array = [{ "book1" => "buyer1", "book2" => { "book21" => "buyer21", "book22" => ["buyer23", "b
I am learning Docker and have a little confusion that I would greatly appreciate some advice on. When creating a new rails application. Following the guidelines
If we list all natural numbers less than 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all numbers le
I am trying to bundle install my application. I have the gem stackprof and i keep getting this error whenever i try to install this gem. I am using M1 with Ruby
I'm trying to call the sh method from FileUtils. class A def self.method sh('echo hello') end end def function sh('echo hello') end function # this
I am doing the installation on m1 mac and I am stuck mysql issue. my rails server is working fine but when I run my spec then I got cannot load such file -- m
I was following this tutorial right here https://gist.github.com/stevecondylios/16a53b73f22621e3cde2e17096dbf5ca Which teaches you how to make a simple contact
Well, I'll try to be as clear as possible in my problem, and I hope to get answers with Ruby because I'm currently studying Ruby on Rails, but of course other s
I keep getting Authorization errors when sending a POST request from my React/Ruby app. I'm getting different errors depending on what OOB_URI I'm using. If I u
playing around with Rails 7 and import maps. Trying to import a folder with some custom JS. # config/importmap.rb pin_all_from "app/javascript/custom", under: "
I tried running pod install and this is what I received. [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are
I’m using mongoid gem ’mongoid’, ’~> 7.2.4’ (mongoDB 3.6) with rails (5) and I have a database with customer collections and bi
I need to match the numbers in the following strings. It is possible they may be part of longer strings with other numbers in them, so I specifically want to ma
Trying out rails 7, with tailwind and postcss. I have a few stylesheets in assets/stylesheets, which I import through a file called imports.css in the same fold
I am new to ruby on rails hence when i am trying to create new project by following command: rails new abc I am getting following error rails aborted! Psych::Ba
I'm using rails in API mode, with Devise and Devise JWT (for the API), and ActiveAdmin. I had everything working but I've been building out the API controllers
I'am using Jekyll with the Minimal Mistakes template and facing a problem with the fragment header generation. Here is an example.. If you put a header into you
Finally after many steps of troubleshooting rails is rendering our NavBar component, but not the base App component where everything is imported. Wondering what