Orbit Blog

Insights, updates, and the occasional space pun 🚀

Stay in the loop
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Setting Empty-String JSONB Values to Null When Sorting with Ransack

Using the Ransack gem is a great way to add search functionality to your application without the need for additional libraries or dependencies. Check out this post to see how to set empty-string JSONB values to null when sorting with Ransack.

Alex Morton
Software Engineer