Rafe Rosen (@existentialmutt) header
Rafe Rosen (@existentialmutt) profile picture

Father, Homesteader, and Freelance Ruby Developer. he/him. Black Lives Matter. @all1song@ruby.social

Vermont, USA
Joined July 2009
Photo by Rafe Rosen (@existentialmutt)Photo by Rafe Rosen (@existentialmutt)Photo by Rafe Rosen (@existentialmutt)Photo by Rafe Rosen (@existentialmutt)Photo by Rafe Rosen (@existentialmutt)Photo by Rafe Rosen (@existentialmutt)Photo by Rafe Rosen (@existentialmutt)Photo by Rafe Rosen (@existentialmutt)Photo by Rafe Rosen (@existentialmutt)Photo by Rafe Rosen (@existentialmutt)
Hey all, I’m looking for some short-term contracts for development. This could be either in Ruby or AI-based solutions. If you know of anyone looking for someone like me, please let me know. Thanks!
1
18
35
6,640
Do you think this code would be improved by meta-programming? `plan.send(kind.pluralize).where(...))`
52
3
4
90
42,400
I really try to avoid the metaprogramming shortcut here. It makes the references to the associations much harder to grep for. Here's how I would DRY it up
1
2
64
One of the steps for debugging an Android app is literally "Tap on your version number 7 times" There's no place like home...
104
On May 15 (exactly one month from today!) something big will be announced. It will make building mobile apps even easier for Rails developers. I'm working with some very talented folks to get it over the finish line. Watch this space - you don't want to miss it!
14
7
3
157
7,366
You have my attention sir
1
90
If you are an early stage startup that can't afford to hire the wrong person to lead your enginnering efforts, please reach out to me. I am not looking to fill an "engineering" role. I want to be the entrepreneur-minded pragmatist that happens to be know how to build apps. RT🙏
32
57
5,734
Our company just went through a downsizing and I’m one of the casualties. I’m now looking for work. Please DM me if you have any leads. RT appreciated!
6
53
3
66
20,205
time to fuck around and find out (and record my hours as records of damages inflicted)
35
277
120
2,234
263,281
It’s looking like my next #stimulusjs controller is going to replicate basic HTML form behavior using FormData and fetch 🧵
2
6
665
Great advice in there @RogersKonnor, thank you!
29
Replying to @existentialmutt
You can also put multiple forms somewhere else in the DOM and then connect inputs and buttons via the form attribute. I’ve used this “portal” approach before and it worked like a charm. No JS needed, just regular HTML features
2
3
107
You see, my nifty #hotwire based component has its own forms, and it breaks when embedded inside an enclosing form because you can’t nest forms in HTML.
1
102
Stimulus and javascript APIs are awesome enough that I should be able to make a div that minics form behavior. But if there’s something out there that already does this please let me know!
2
1
145
Rafe Rosen retweeted
Git Tip: Running `git checkout -` changes to the previously accessed branch just like `cd -` changes to the previous directory. You can use it with other commands too such as `git rebase -` to rebase off of the previous branch.
5
15
2
84
8,695
Git Tip: Running `git checkout -` changes to the previously accessed branch just like `cd -` changes to the previous directory. You can use it with other commands too such as `git rebase -` to rebase off of the previous branch.
5
15
2
84
8,695
TIL for both git and cd!
1
84
If I said I was going to "roll" a URL would you know what that meant?
20
7
11,481
Going to be taking a hiatus from posting here as I'm going on paternity leave for kiddo #2. See you all in June!
6
1
73
5,007
Who has two thumbs and just upgraded an 8-year old app to Rails 7? 👍 This Guy 👍 #ruby #rails #psyched #relieved
2
26
932
Big shout-out to @[email protected] and @[email protected] . Tools like Railsbump and their free ebook on upgrading rails apps helped me along the way. railsbump.org
1
106