BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

store_base_sti_class

v3.6.0RubyGems· Ruby

ActiveRecord has always stored the base class in polymorphic _type columns when using STI. This can have non-trivial performance implications in certain cases. This gem adds the 'store_base_sti_class' configuration option which controls whether ActiveRecord will store the base class or the actual class. Defaults to true for backwards compatibility.'

The verdict
Maintained. Niche but maintained, actively maintained.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceHealthy
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 4 months ago.
Popularity
3.6K downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 3.6.04 months ago
  • 3.5.07 months ago
  • 3.4.0over a year ago
  • 3.3.0over a year ago
  • 3.2.02 years ago
  • 3.1.02 years ago
  • 3.0.04 years ago
  • 2.0.35 years ago
store_base_sti_class — ActiveRecord has always stored the base class in polymorphic _type columns when using STI. This can have non-trivial performance implications in certain cases. This gem adds the 'store_base_sti_class' configuration option which controls whether ActiveRecord will store the base class or the actual class. Defaults to true for backwards compatibility.' (Ruby / RubyGems) · Modules