Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#40 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
rails, ruby

Research direction

Start with the Rails 7 configuration shown in config/environments/production.rb and the Logdna::Ruby.new(...) entry point, then reproduce the NoMethodError on Rails 7.0.2.3 with Ruby 3.0.3. Trace the logger integration around the missing silence method; done means the configuration works without that error.

Written by the indexing model from the issue text.

Description

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))

Dominant language
Ruby
Stars
19
Forks
18
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from logdna/ruby

All issues in logdna/ruby

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.