David
banner
dcyoung.dev
David
@dcyoung.dev
🚀 Web/Software/Ruby on Rails Developer | 🥃 Turning whisky into code in the scenic North East of Scotland 🏴󠁧󠁢󠁳󠁣󠁴󠁿 | Collector of domain names
https://dcyoung.dev
https://braw.software
Pinned
David @dcyoung.dev · Nov 22
Looking for fellow Rails devs - extra points if they're in the North East of Scotland 🤞🏴󠁧󠁢󠁳󠁣󠁴󠁿
You might get less performance from using `.excluding` than `.where.not` and here's why.

dcyoung.dev/shorts/how-e...

#RubyOnRails #WebDevelopment
🎓 How .excluding works in Rails
Rails provides a convenient .excluding method for identifying a group of items while omitting another set.
dcyoung.dev
May 16, 2025 at 11:05 AM
Upped my geek level thanks to @andycroll.bsky.social and rubytshirts.com 🎉🎉
March 7, 2025 at 10:44 AM
What's your preference when it comes to data migrations in a Rails app?
I've used the data_migrate gem in the past with mixed success - I think it stopped working for me after an upgrade (gem or Rails)

Let's discuss the pros and cons.

#RubyOnRails

github.com/ilyakatz/dat...
github.com
February 17, 2025 at 3:50 PM
Enjoyed this talk about the Shape of Service Objects. I like the separation of work explained and the visual representation of a Service Object is great 😍 - off to find some code to analyse + refactor 🧐
www.rubyvideo.dev/talks/the-cu...
#RubyOnRails
The Curse of Service Objects
Service Objects were a mistake. It has nothing to do with OOP. It has little to do with ideas of Fowler, Evans and Martin. I analyzed a plenty of open repositories, videos and articles, and in this ta...
www.rubyvideo.dev
January 21, 2025 at 12:59 PM
Rubocop gem update adds a check to ensure Strong Params expect is being used.
@gorails.com have a great video explaining why this an important change
gorails.com/episodes/how...

#RubyOnRails #webdevelopment
How to use params.expect in Rails 8+ (Example) - GoRails
Rails 8 introduces a new expect method for permitting parameters that fixes a few of the issues with require and permit. Let's take a look!
gorails.com
January 20, 2025 at 11:12 AM
Rails `class_names` aka `token_list` helper is great for define #CSS classes in view components or partials.

Docs: edgeapi.rubyonrails.org/classes/Acti...

#RubyOnRails #CodeExample
January 14, 2025 at 10:44 AM
Not a new #AppIdea for me but, an Instagram like clone for specific events like weddings. Guests share photos and videos to an event's timeline.
Could also handle RSVPs.
#RubyOnRails #webdevelopment #buildinpublic
January 14, 2025 at 7:47 AM
Meal Planner app finally got it's meal planning functionality

Allows us to add recipes to a day of the week. Already using this to plan this week's meals 😋

#RubyOnRails #webdevelopment #buildinpublic

bsky.app/profile/dcyo...
January 13, 2025 at 3:17 PM
Who is the genius behind the Songs on Rails YT Channel? 😂🤣
#RubyOnRails
youtube.com/@songsonrail...
Songs on Rails
youtube.com
December 26, 2024 at 11:32 PM
Another app idea Food book.
A list of food outlets, their opening times and menus. 🧵
December 6, 2024 at 7:44 PM
Quite a wild year of music for me this year!
Top 0.5% of Less Than Jake listeners 🤘🎺

I listened for 27,638 minutes in 2024. What about you? #SpotifyWrapped
open.spotify.com/wrapped/shar...
My 2024 Wrapped – get yours
2024 Wrapped
open.spotify.com
December 4, 2024 at 8:35 PM
Meal Planning app coming along nicely 👌
#RubyOnRails #webdevelopment
#buildinpublic
December 2, 2024 at 9:08 AM
Implemented a powered by HOTWire - not quite as smooth as I want it to be but pretty good start 👌
#rubyonrails #hotwire #webdevelopment
December 1, 2024 at 10:28 PM
Really enjoyed learning about @goodenough.us on the Startup Different podcast this week.
The idea of having a "bad ideas" Slack channel is right up my street! 🤩
November 28, 2024 at 1:52 PM
Reposted by David
Recent @shortruby.com includes a reminder from RubyCademy that you can run bundler in onefile scripts. Let me also remind that you can run tests such way too
November 25, 2024 at 10:34 AM
If you're a software builder what projects do you have sitting in your laptop? 🧵
November 24, 2024 at 9:35 PM
We're in the very early stages of a new #startup idea.

An online storefront for your company branded merch, that only your team have access to.

Would your startup find this useful?

#buildinginpublic
November 23, 2024 at 12:05 PM
Looking for fellow Rails devs - extra points if they're in the North East of Scotland 🤞🏴󠁧󠁢󠁳󠁣󠁴󠁿
November 22, 2024 at 9:01 PM