• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ledermann / rails-settings / #411
97%

Build:
DEFAULT BRANCH: master
Ran 17 Oct 2025 03:58PM UTC
Jobs 1
Files 6
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Oct 2025 03:57PM UTC coverage: 97.059%. Remained the same
#411

push

web-flow
Defer loading SettingObject until ActiveRecord is loaded (#119)

The gem was requiring `rails-settings/setting_object` at the top level,
which defines an ActiveRecord::Base subclass and causes ActiveRecord
to load too early. This interferes with Rails’ lazy-loading behavior (eg.
preventing new framework defaults from being applied correctly).

Moving the require statement into the `ActiveSupport.on_load(:active_record)`
block ensures it loads only when ActiveRecord is ready.

1 of 1 new or added line in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

132 of 136 relevant lines covered (97.06%)

19.39 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.0
0.0% lib/rails-settings/setting_object.rb
Jobs
ID Job ID Ran Files Coverage
1 #411.1 17 Oct 2025 03:58PM UTC 6
97.06
Source Files on build #411
  • Tree
  • List 6
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 14d36886 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc