{ All snippets }

Tweetsnippet is a curated list of tips and tricks from Twitter.

Chris Fidao

Chris Fidao @fideloper

🔥 A very useful trick is creating calculated attributes on your Model classes - you can treat them like any other column, e.g. Foo::find(1)->recently_updated; // boolean https://t.co/mrgwLqxxUg