Any of these features may be enabled individually, or you can just write:
Model::shouldBeStrict();
Typically, this would only be enabled during local development. 👍
Cool new things in this week's Laravel release. First, you may now quickly enable Eloquent "strict mode":
🙅♂️ No lazy loading
❗ Exceptions when assigning non-fillable attributes
🕵️ Exceptions accessing attributes that weren't retrieved or don't exist
#configuring-eloquent-strictness" target="_blank" rel="nofollow noopener">laravel.com/docs/9.x/eloqu…
@SageThalcos I played "Beyond the Vale of Madness" on the weekend and it was a ton of fun! So much so that I decided to make a "Choose Your Own Adventure" app.
It lets you both edit and play the games. It's pretty rough, but hopefully you get the idea.
one-shot-ten.vercel.app
BJJ Purple Belt Starter Pack
Oh to be young and wearing a purple belt.
Discovering leg locks for the first time.
Wearing fancy gis.
Knee surgery.
“It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness..."
Oh to be young.
Sometimes I ask myself why 15 years ago, I used SmallTalk, and tried Python but finally stayed with Ruby...
Ruby prioritizes developer happiness. 🌈 With its elegant syntax and intuitive structure, you'll enjoy the coding process and truly fall in love with development again. 🥰
@lucianghinda@GregMolnar I straight gave up on even installing latest Ruby on M2 Mac. Tried a few times, with both RVM and rbenv. Just tells me it’s missing extensions that I definitely have installed
I always wonder why are we in this situation? Not sure why this is among the things that I have to solve when I help someone new start with Ruby.
I don't even have a sure way to solve it -> every time my process is search google, then search Github issues about people having similar stuff, try looking at versions mismatch and so on :)
North Star metrics are powerful, but often used incorrectly.
The best way to learn is with examples.
So here's a ton. This amazing chart by @PawelHuryn is the best I've found.
Pay special attention to the bad examples.
I haven't found much use for AI in full-on writing large bodies for code for me, but I continue to be astounded by its ability to be a superb pair programmer. It knows all the APIs, we never need to Google anything, and its suggestions are often delightful. A+.
@xnickxleex Joint space and connective tissue training. Spine, shoulders, hips. Been doing a lot of CARs, PAILS/RAILS, overdspeed eccentrics, etc. Prioritize whatever’s giving you problems. A year ago it was my shoulders, now they’re great so I’m focusing more on spine esp neck
@andrewmcodes Real example: I had an InviteClientService that created a client and sent an email to the email address. It was weird. Also not very useful.
So then I made a db backed ClientInvitation model that sends the email, tracks the status, allows for reminders, etc.
What is your least favorite software design principle or pattern?
Mostly due to past experiences, I'm personally not a huge fan of delegation the way it's normally done in Ruby. 😬
Does anyone building in public use Ruby on Rails? Seems like I'm the only one not using Vercel or React...
Where my #rubyonrails#buildinpublic people at? Let's connect, I definitely could use the help 😅
@Diragor@andrewmcodes Dependency injection is a weird one too. Like, technically passing dependencies in to functions/class-constructors is dependency intention. But DI frameworks are basically just global state magic
Learning techniques require time and patience.
Fortunately, there are other ways you can improve your Jiu-Jitsu without actual training (though not a substitute for training!)
Here's 5 simple ways you can improve your Jiu-Jitsu in 2024 without overhauling your schedule ⬇️