Ruby on Rails - Sprockets removes sourceMappingURL and sourceURL from module in browser
“<p>First of all I'm upgrading rails from 4 to 6 version.<br />
I have a separate fronted project that's based on webpack and as a result it produces js output file. Let's name it ui.js<br />
This file is later taken by sprockets using //=require 'ui'
On my current stack (rails 4.2.11.3, sprockets 2.”
stackexchange · Panczo · 3/27/2024
Open original →mini_racer gem 0.8.0 fails bundle install with Ruby 3.1.x
“<p>This problem has been reported in the past and apparently solved by an update to mini_racer. But I've hit a brick wall here that I can't get past so it appears to be the same problem again but possibly for different reasons. I have encountered the problem first when I tried to upgrade from Ruby 3”
stackexchange · user2579934 · 12/3/2023
Open original →deliver_now Method of the Gem mail produces wrong number of arguments error
“<p>I'm a bit stuck on upgrading the Ruby version of my Rails project. The project is running on Rails 6.1.7 and I have upgraded the Ruby version to 3.2.2. However, my tests show that there is a problem with the <code>deliver_now</code> method of the Gem <code>mail</code> (version 2.8.1).</p>
<p>The ”
stackexchange · Theoran · 8/29/2023
Open original →Ruby Rails ActionController::UrlGenerationError in Friends#new missing required keys: [:id]
“<p>I am seeing the following error while trying to access the new page of my new model in rails 6.1 after I upgraded rails to version 6.1 from 5.2 and ruby to 2.7 from 2.5 respectively.</p>
<p><code>No route matches {:action=>"show", :controller=>"friends", :format=>nil,”
stackexchange · Akshay Sharma · 2/10/2023
Open original →Upgrading Rails, how to autoload constants before config/environment/devlopment.rb runs?
“<p>I'm new to Ruby and Rails, so please forgive me if this is a n00b question. I'm trying to upgrade a very old app (using Ruby 2.3.4 and Rails 5.0.6) to the latest versions of Ruby (3.1.3) and Rails (7.0.4). When config/environment/devlopment.rb executes, I get an uninitialized constant error. It”
stackexchange · athome withagroovebox · 1/16/2023
Open original →