Answers for "enum order rails"

0

rails order nil last

Photo.order('collection_id DESC NULLS LAST') # NULLs come last
Posted by: Guest on November-05-2020

Browse Popular Code Answers by Language