Les rails commander nul dernier
Photo.order('collection_id DESC NULLS LAST') # NULLs come last
Wide-eyed Wolverine
Photo.order('collection_id DESC NULLS LAST') # NULLs come last