ruby icon indicating copy to clipboard operation
ruby copied to clipboard

Rails 7: NoMethodError (undefined method `silence' for Logdna::Ruby

Open gentlemich opened this issue 3 years ago • 1 comments

Hi,

I'm getting this error on Rails 7.0.2.3, Ruby 3.0.3: image

My config/environments/production.rb file contains this line: config.logger = Logdna::Ruby.new(Rails.application.credentials.dig(:logdna, :secret))

gentlemich avatar Apr 26 '22 17:04 gentlemich

Same. I got this when enabling session storage in a rails API only setup. I found a fork that fixes it but I'd rather not use a fork

gem 'activerecord-session_store', git: 'https://github.com/egallup02360/activerecord-session_store.git', ref: 'f876987'

gommo avatar Apr 30 '22 23:04 gommo