Nice post 😊 I didn't know about none. I wonder why AR queries the db with 1=0 instead of doing whatever .none does 🤔
Right? I went into the AR source code one weekend and tried to update it in such a way that none would be used when it saw an empty array. Broke a lot of specs and after 3 hours of trying to fix them I gave up. One day I will go back!
I feel that, lol. So vindicating when you finally get it after numerous independent attempts!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.