David (@dcyoung_dev) header
David (@dcyoung_dev) profile picture

Web developer, consultant and mentor. #ruby #RubyOnRails #javascript #typescript

Aberdeenshire, Scotland
Joined July 2014
Photo by David (@dcyoung_dev)Photo by David (@dcyoung_dev)Photo by David (@dcyoung_dev)Photo by David (@dcyoung_dev)Photo by David (@dcyoung_dev)Photo by David (@dcyoung_dev)Photo by David (@dcyoung_dev)Photo by David (@dcyoung_dev)Photo by David (@dcyoung_dev)Photo by David (@dcyoung_dev)
New blog post: Setting up SQLite backups with Litestream and Cloudflare R2 Continuous database replication for Rails apps running SQLite in production. The litestream-ruby gem makes the integration pretty seamless. dcyoung.dev/shorts/setting-u… #rubyonrails #webdevelopment
1
83
API token code got you spooked? I found a cleaner way using `has_secure_password`, `authenticate_by` and `authenticate_or_request_with_http_token` in Rails. dcyoung.dev/shorts/api-token… #rubyonrails #webdevelopment
1
2
93
Scratching my own itch! Trying to solve the big shop shopping list problem! #rubyonrails #kamal #hotwire
100
🚨 New RuboCop update! 🚔 Say goodbye to loops for collection manipulation. Embrace array methods like `#map`, `#select`, `#reject` & more. Keep your #Ruby code clean and efficient! 💎 #DevTips #CleanCode
11
344
Trying to upgrade to ViewComponents 3.0.0 but having trouble with deprecations. Am I missing something? - I'd like to raise errors in development and test environments for deprecation warnings - especially for the `slot_name` syntax - before upgrading the gem #rubyonrails
3
1
6
1,767
Smells like an OSS contribution
187
It's practically the only time I post these days - this week's newsletter is out in the wild! Check it out or don't 🙈 newsletter.dcyoung.dev/ #webdeveloper #rubyonrails #newsletter
133
🌟 Calling all web developers! 🌟 The latest issue of my weekly web development bookmark newsletter is here, packed with the latest resources and insights to supercharge your skills 🚀🔖 #webdevelopment #newsletter #rubyonrails dcyoung.dev/
1
178
🔥 Hot off the press! 🔥 Yesterday, we unleashed our latest issue of the ultimate web development bookmark newsletter. 📚💻 From cutting-edge tools to pro tips and expert insights. Get your weekly dose of web dev goodness now! 🚀🔖 #webdevelopment #newsletter
1
193
Finally scratched a Rails Templating itch and created a linting template. It can be added to an existing Rails app and will help fix linting issues in Ruby, Javascript and CSS while also checking and fixing translations 🎉 #rubyonrails dcyoung.dev/shorts/rails-lin…
3
12
974
Taking the plunge 🐳💎 I've put off using Docker for my local #RubyOnRails development for long enough after being burned in the early days. I'm looking for a hand-holding guide on how to get started. 🧵
9
1
18
5,160
is it possible to use the standard Dockerfile from Rails 7.1? I'm very happy running the `docked rails` commands (these feel like the least bad option) github.com/rails/docked
1
353
📢 Hey there! This week's newsletter is live, but no tweets this time! 🚫🐦 Don't worry though, it's packed with the latest trends and insights on #RubyOnRails and web development. Join our community and level up your skills! #webdevelopment #coding 💻🚀
1
1
178
🔥 Hot off the press! My latest newsletter! 💻 Get the latest trends, expert insights, and tips on #RubyOnRails and web development. Join our community and level up your skills! #webdevelopment #coding 🔥 dcyoungdev.substack.com/p/fu…
2
68
Need to render a template between each item of a collection? `render partial` with the `spacer_template` option has your back 👌 #RubyOnRails #webdevelopment #coding
2
8
2
50
4,031
.@LumoTravel I'm having problems trying to refund some unused tickets - twice I've submitted the refund request details and twice my booking could not be found - even after sending the original email as evidence 🤦 Who can I talk to about this and how 🤷
1
189
I have to admit that I like the new @rubymine UI 🎨 jetbrains.com/help/ruby/new-… The Navigation Bar looks really useful 👌 #RubyOnRails
4
1
1
19
2,773
I got a bit lost last night trying to switch branch - the branch selector has moved to the top which is way more accessible - will take a bit of time to get used to it being up there 👌
61
📢 Stop everything you're doing and check out our latest newsletter! 🚨 It's jam-packed with the latest trends and insights on #RubyOnRails and web development. Join our community and take your skills to the next level! #webdevelopment #coding 🚀 dcyoungdev.substack.com/p/fu…
2
142
How to use a `debounce` ⛹️‍♂️ function from `lodash` in a Stimulus controller. I've used this in a few places like adding auto-save functionality 💾 Remember to `yarn add lodash` 👌
1
17
1,622
🎉Yesterday all 100 subscribers received the latest issue of my Full Stack #RubyOnRails Weekly Bookmarks newsletter 💯 Pop on over to see what all the fuss is about 🧐 #webdevelopment #coding dcyoungdev.substack.com/p/fu…
1
118
Using a few SO posts I've created an `active_link_to` helper that adds the `.active` class and sets `aria-current="page"` #RubyOnRails #webdevelopment #coding
2
4
26
2,675
Is the web getting worse? During 2 purchases this week I've had to use web dev tools to complete my payments. 💸 How much are these errors costing businesses? @LumoTravel @nextofficial
1
205
.@LumoTravel had an issue with displaying the recaptcha not being loaded...the error was in the console but not displayed anywhere 🤷
2
131