python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
In Rails 6, where do I place moneky patch code so that it gets run before the Gem code?
I’m using Ruby 3.0.2 and Rails 6.1.4.4. I have installed a gem, octoshark v 0.3.0, that doesn’t play well with Ruby 3. The gem file is
~/.rvm/gems/ruby-3.0.2@cfs-web/gems/octoshark-0.3.0/lib/octosha...
Dave
Votes: 0
Answers: 2
Zeitwerk fails in production loading custom SimpleNavigation renderer
Getting ready for Rails 7 by shifting to Zeitwerk autoloader (Rails 6.1.4.4 on Ruby 2.7.5). Turned off the config.autoloader = :classic line in application.rb. App is loading 6.1 defaults.
Dev mode ru...

John Athayde
Votes: 0
Answers: 2
Filterrific - Persist Filter
I am trying to persist multiple filter settings a user sets, so that whenever a page is reloaded, or if a user navigates away and then navigates back to their filtered page, the filter settings are no...
AHaveles
Votes: 0
Answers: 1
image_tag('#') throw error The asset "#" is not present in the asset pipeline
Steps to reproduce
Use # for image_tag
image_tag '#', {}
Expected behavior
Should it combine something like this <img src="#"/>
Actual behavior
Raise exception:
Sprockets::Rails::He...
Ryan Pham
Votes: 0
Answers: 1