Files
has_aux_table/lib
Dylan Knutson fc6fd71e60 feat: Completely rewrite query extensions for simplicity and maintainability
- Researched how established Rails gems (Paranoia, Kaminari) handle AR extensions
- Eliminated Thread.current hacks, complex recursion prevention, and method aliasing
- Implemented clean prepend patterns with proper delegation to super()
- Automatic behavior maintained since users explicitly opt-in with aux_table
- All query methods work seamlessly: find, find_by, where, chained where
- Proper error handling for unknown columns
- All 47 tests pass including 19 query extension tests
- No Sorbet type errors
- Code is now readable, maintainable, and follows Rails conventions

Breaking changes: None - all existing functionality preserved
Performance: Improved due to simpler, more direct implementation
2025-07-13 06:03:03 +00:00
..