VIEW MORE ARTICLES
Rinas Writes

January 16, 2024

TIL in rails: `Model.none` returns a chainable relation with zero records
`Model.none` returns a chainable relation with zero records in Rails


Source: https://api.rubyonrails.org/classes/ActiveRecord/QueryMethods.html#method-i-none