cách sử dụng ransackable_scopes trong ROR
Lenson Emma
Đã trả lời khoảng 14 giờ trước
That's an interesting Ransack issue! It looks like you're correctly defining ransackable_scopes. Sometimes with these custom scopes, the flag value might not be passed exactly as expected through the params hash. I've run into similar quirks before – it feels a bit like trying to perfectly time a jump in Geometry Dash Lite! Have you tried debugging the params hash directly in your controller to see how with_active_subscription is actually being received there?
0
Tổ chức
Chưa có tổ chức nào.