ransack icon indicating copy to clipboard operation
ransack copied to clipboard

Searching in created_at by passing Boolean attribute

Open majedbojan opened this issue 7 years ago • 0 comments

Hello, Hope someone help

I have model and want to pass tag called new when the tag is true i want to fetch all the records created_at >= 7.days.ago and if the tag is false need all the records those are created_at <= 7.days.ago

How can i do this using ransack

majedbojan avatar Jan 13 '19 14:01 majedbojan