Mark Wilkinson

338 posts

Mark Wilkinson

Mark Wilkinson

@mhw

Freelance full-stack web application developer and architect. Ruby on Rails, JavaScript etc. Also @[email protected]

York Beigetreten Temmuz 2007
2K Folgt365 Follower
Mark Wilkinson
Mark Wilkinson@mhw·
@rwgcomms my SIM card won’t make outbound calls or send texts. Can you help figure out what’s wrong?
English
0
0
0
30
Lucian Ghinda
Lucian Ghinda@lucianghinda·
Do you have a list of Rubyists posting here about Ruby and Ruby on Rails or any other Ruby framework? Please share it in a reply. I am looking to follow more people posting technical content.
English
11
5
57
9.2K
Mark Wilkinson
Mark Wilkinson@mhw·
@ericniebler You can also do `git commit --fixup=:/<pattern>` to find the most recent commit with a message matching pattern
English
1
1
8
598
@ericniebler.bsky.social
@ericniebler.bsky.social@ericniebler·
Today I learned about `git commit --fixup=<commit>` and `git rebase --update-refs --autosquash -i <commit>` and my life has significantly improved. I fear no stacked PRs. Bring it.
English
21
22
286
34.7K
Joel Moss
Joel Moss@joelmoss·
@wyhaines Looking at that one right now. I like how it has no magic DSL. Seems pretty straight forward.
English
2
0
1
410
Joel Moss
Joel Moss@joelmoss·
Anyone used a state machine lib for #Ruby? Which ones are worth it, if any?
English
17
1
12
7.3K
Mark Wilkinson
Mark Wilkinson@mhw·
@joeldrapper I’ve seen this before with HAML - I’ve used it on some projects where I maintain the views, but then found it was an obstacle to getting a designer to work on the view layer
English
0
0
1
24
Mark Wilkinson
Mark Wilkinson@mhw·
@joeldrapper Doesn’t it depend on team composition? I get the impression 37signals has designers editing the view templates as well, so staying close to HTML makes sense. For solo Rubyists or teams where the developers maintain the views, Ruby abstractions fit better.
English
1
0
0
146
Mark Wilkinson
Mark Wilkinson@mhw·
QA obviously going well at Twitter these days
Mark Wilkinson tweet media
English
1
0
0
280
Mark Wilkinson
Mark Wilkinson@mhw·
@stevepolitodsgn Won’t that depend on whether (and how) you’re using ahoy.js to do client side page view tracking? Tracking events in controller actions would be triggered by InstaClick, but calling ahoy.trackView from the turbo:load event handler shouldn’t, should it?
English
0
0
0
152
Steve Polito
Steve Polito@stevepolitodsgn·
If you’re using something like Ahoy, it will track visits if Turbo 8's InstaClick is enabled. Meaning, if you hover over a link, Ahoy will capture that as an event, but it won’t distinguish it from a synchronous request.
English
2
1
13
1.8K
Julien Bourdeau
Julien Bourdeau@julienbourdeau·
Introducing the Rails Debugbar gem. debugbar.dev I've been working on this on and off since December and I think the first version is ready. Please try it with your @rails project and let me know! Otherwise, there is a demo on the website (not mobile friendly 🙈)
Julien Bourdeau tweet media
English
27
39
257
45.7K
Ali from the Deli
Ali from the Deli@Alifromthedeli·
#crafting peeps, can anyone tell me what these are for please? Directional ‘on-off’ instructions quite firmly attached! In a bag with my granny’s darning mushroom. Wondering if @littleramstudio might know?
Ali from the Deli tweet media
English
2
0
1
302
Joe Masilotti
Joe Masilotti@joemasilotti·
403 people subscribe to my YouTube channel. 97 more until I can link directly to GitHub repos in my videos! I mostly cover Turbo Native with the occasional live stream working on Ruby on Rails apps. I'd love if you could check it out. ❤️ @joemasilotti" target="_blank" rel="nofollow noopener">youtube.com/@joemasilotti
English
18
11
42
8.7K
Mark Wilkinson
Mark Wilkinson@mhw·
@GregMolnar @ryanstrickler describe is implemented in minitest/spec, but I don’t think you can just drop it into to the tests in a Rails app - minitest-spec-rails (and minitest-rails) do the work to add the spec bits into ActiveSupport::TestCase
English
0
0
2
0
Greg Molnar
Greg Molnar@GregMolnar·
@ryanstrickler I don't use describe with minitest, but it is built in now, isn't it? #label-Specs" target="_blank" rel="nofollow noopener">docs.seattlerb.org/minitest/index…
English
2
0
1
0
Greg Molnar
Greg Molnar@GregMolnar·
Since there isn't enough drama on Twitter and in the Ruby world, let's add some oil to the fire :D Rspec or Minitest? And don't forget your reason to prefer one over the other.
English
25
2
29
0
Ryan Bates
Ryan Bates@rbates·
@robzolkos The issue with partials is that the arguments are not clearly defined. The issue with helpers is that the methods have no contained context and can conflict. View Components solve both of these in a clean way that scales nicely.
English
4
0
15
0
Rob Zolkos
Rob Zolkos@robzolkos·
What do you think will be in Rails 8?
Indiana, USA 🇺🇸 English
16
0
21
0
Collin
Collin@collin_jilbert·
Happy Saturday! Here's a terminal tip that might make it even better.
Collin tweet media
English
1
5
32
0
Mark Wilkinson
Mark Wilkinson@mhw·
@joemasilotti Yeah, I was thinking you could extend the PolicyResponse idea to carry the redirect url, or the data you’d use to determine it. It’s the basic idea of having policy methods that return data about the authorisation, instead of just being predicates.
English
0
0
1
0
Joe Masilotti
Joe Masilotti@joemasilotti·
@mhw OK, I love the direction this is taking. But it still doesn't handle redirections for specific authorization failures. I'm debating taking what was written and extending it or rolling my own at this point.
English
1
0
0
0
Joe Masilotti
Joe Masilotti@joemasilotti·
Am I missing something obvious with Pundit? Or are ALL authorization failures handled the same way? e.g. there's no way to redirect if one policy fails but another succeeds.
English
9
0
7
0
Mark Wilkinson
Mark Wilkinson@mhw·
@noelrap @avdi Little typo: I’m guessing “tacking exciting problems” should be “tackling exciting problems”
English
0
0
0
0
Avdi Grimm
Avdi Grimm@avdi·
I am starting a SaaS company called Beige. We do things other SaaS companies do except we're not excited and we don't think we're changing the world and we never, ever write books about The Beige Way
English
10
7
96
0
Mark Wilkinson
Mark Wilkinson@mhw·
@afomera The replicate gem from GitHub does this, but unfortunately it’s not been maintained for ages. It still worked last time I tried to use it though github.com/github/replica…
York, England 🇬🇧 English
0
0
1
0
Andrea Fomera
Andrea Fomera@afomera·
I had two thoughts today while reading one of the books; 1) There should be a gem that helps you export data from models + associations and then import them into development 2) Then building off it, you could probably automate data exports for ppl closing? #ruby #rails
English
4
0
5
0