"If my computer is doing very complex things inside, but that complexity doesn't show up on the surface, I don't care. I don't care if the computer works hard on the inside or not. I just want the right result presented in a good manner." Matz on 2003
artima.com/articles/matz-on-…
2
60
One little trick I discovered recently is that you can just ask an agent for a selector to compare different UI options, with something like..
"... add a selector so I can switch between them and compare them"
1
2
401
Replying to @strzibnyj
just vibe... and review...
I really like how you can write comments on the code like in github, and send those comments to the chat.
1
57
youtube.com/watch?v=SLqSUHFx…
This video from @KentBeck (from two years ago... maybe a lifetime in AI years 😅) can help with this idea.
37
Replying to @dhh
I was listening a podcast with Michael Truell (cursor co-founder) and I think some of his thinking is similar to what you said about ruby.
open.spotify.com/episode/68r…
109
Replying to @nateberkopec
We were using knapsackpro on heroku, but then we moved the tests to github...
On github we have been using just the parallel_test gem and a matrix strategy... not the most stable thing but most of the time it works.
1
186
I’ve been using a simple but (I think) powerful “Publishable” concern, here is the code if you want to use it in some way… you just need a status column in your model
#rails
1
1
155
In the writebook code I found the pattern of using index_by(&:itself) to declare enums stored as strings… I have been using it a lot
2
105
Rails tip: In your set_record before actions in rails you can use a scoped find and to return a 404 automatically handled by rails.
2
85
Replying to @lazaronixon
Thank you, this pattern is new for me!... also I didn't know about the action parameters in stimulus.
I have been doing something similar with a "click" controller, that on a given action clicks a hidden button.
3
489
has_secure_password from rails, is a very easy way of dealing with the authentication against a BCrypt password. And is just free there in #rails!
edgeapi.rubyonrails.org/clas…
109













