
Mark Godwin
@godwincodes
Followers
79
Following
577
Media
14
Statuses
532
💎 Ruby on Rails Developer 🔭 Rails Observatory - https://t.co/EBPzjOX62M 👨💻 Working @ Revivn
Colorado, USA
Joined April 2023
After a long hiatus, finally pushed new code up for Rails Observatory. Since my last foray into writing a rails gem, the gem came out which had a ton of great patterns and insight for how to deal with propshaft/turbo in a gem! .
2
3
30
RT @reinink: The new `<Form>` component in Inertia.js is great — so much simpler than the `useForm()` hook, and probably works in 95%+ of s….
0
8
0
RT @RubyCademy: One of my favorite additions to Rails 7.1 is that you can now alias columns in `select` with a hash instead of raw SQL! 🤩….
0
8
0
RT @MichaelDChaney: If you're not familiar with the "create_with" method, you're missing some real ActiveRecord fun. This method allows yo….
0
7
0
I like that distinction - tables imply “all data is of equal importance” well said.
Many apps are basically Excel in the browser. This is common when the app doesn't have a professional designer. Developers think "I'll display all the data in a table." That's unfortunate. It infers all data is equally important. Designers ask "What are the user's goals?".
0
0
2
RT @Dan_Jeffries1: People thinking AI will end all the jobs are hallucinating worse than Max Tegmark on an acid trip. And one of the reaso….
0
154
0
RT @dhh: AI demonstrates the sunk-cost fallacy perfectly: Just one more "this doesn't work!" prompt, you think, and it'll fix it!! But ofte….
0
655
0
RT @rjs: The first thing I'm looking for when mentoring a junior UI/UX designer is the shift from "is this what you want?" to "this solves….
0
9
0
Damn inertia and rails should be the officially sanctioned react route:
evilmartians.com
Has simplicity gone missing in web development? This investigative piece uncovers how Inertia.js + Rails defy JavaScript bloat and reclaim developer sanity.
0
0
1
This is pretty cool. More of this please!.
Basecoat 0.3.0 is out. A few changes to the way I register and initialize components (link below 👇). Now preparing a few new components (Command, Carousel, Drawer) before I get back to working on charts. If you want shadcn/ui but don't want to use React, this is for you.
0
0
0
RT @BijanRahnema: Rails really does feel like a superpower. The fact that I just implemented a production-ready error-tracking system wit….
0
7
0
RT @RailsQuest: Rails handles all of this for you WITHOUT outsourcing. No excuses. No fear. Own your whole stack.
0
2
0
For rails observatory, I found myself needing to submit metrics off the main thread (via thread pool) to avoid adding length to request times. After reading the source for ActionCable, I found that this was easier than expected, using concurrent-ruby:.
2
0
17
One of the best ways to level up your skill level as a developer is to study the documentation for your tools. Scour the Rails Guides. Click through Even after 15 years I still find new/better ways to do things every time I do this.
3
0
16
Working on emitting quantile metrics, like p95 for request latency etc. This is weirdly not easy to do - I think I'll end up going the route that statsd uses.
0
0
0
Update on RailsObservatory - Just moved trace submission to a thread pool so that requests stay nice and fast! Also added utility functions for submitting metrics so you can record whatever you'd like:. `RailsObservatory.record_occurrence/timing`.
1
0
1
We had a weird bug with ParamsWrapper today, and I feel like the behavior here is surprising enough to warrant discussion. I hope to get some feedback!.
discuss.rubyonrails.org
We were bitten by a somewhat surprising behavior with ActionController::ParamsWrapper recently. We had a controller AddressesController that used the implicit parameter wrapping behavior, like this:...
0
0
0