Host and scale apps seamlessly on Enscale, the new time-saver PaaS built by @Layershift for #Rubydevs. Follow us for #Ruby news, tips and product insight.
Hey #rails devs that are using encrypted credentials in a rapidly changing codebase and a decent team size. How do you manage credentials merge conflicts?
💎Ruby tip💎
Debugging with IRB/Pry and stuck in a loop or just don't wanna go through all the stops typing exit all the time? No need to shut down your server! Simply type "abort". This will exit out of all future stops.
#ruby#rails#rubyonrails
ALT # run.rb
loop do
binding.irb # or binding.pry
end
# Simply type this in the terminal
# to exit all
abort
# if you're using pry, you can also use the following
exit-program
# or
!!!
I quietly launched railsdevs.com last week! It a reverse job board for Ruby on Rails developers - you post your profile and businesses message YOU. It’s also open source.
Just ran into a weird chain of callbacks in some controllers and learned a neat trick to keep in my back-pocket for debugging how Rails will process callbacks
#rails
hat-tip to: reganchan.ca/blog/ordering-o…
🔥 @GoRails GoGuest! Spelunked a redirect_to related PR with @excid3 for 70mins, with a good number of API shapes explored — come join as our brains devolve into mush for your amushment 🧠😶🌫️
I sat down with @getajobmike to talk about Sidekiq's origins, the biggest Sidekiq installations he's ever seen, and what makes up the majority of his support load (it ain't Sidekiq). Available on Spotify, ITunes or on YouTube: sidekiqinpractice.buzzsprout…
Lazy loading content in #rails isn't as hard as you think.
Check out my latest tutorial to learn how you can do this in your applications today.
Don't have time to read this now? Just look at the formula below 👇
stevepolito.design/blog/lazy…
Contributing to Rails is now easier than ever: just start a Github Codespace and have a fully functional development environment to fix bugs and implement features!
github.com/rails/rails/pull/…
🥳 I'm happy to announce that I just released my first gem.
It allows users to automatically unsubscribe from emails in Rails.
I learned a lot in the process, and want to thank everyone who took the time to help me on Twitter or in the @GoRails Discord.
github.com/stevepolitodesign…
Adding search to your Rails app is a simple enough feature request, so why does it always end up being so complicated? Or slow? Or both?
In this post, @searls shares a new design pattern that combines the best parts of ActiveRecord and Postgres. link.testdouble.com/build-se…
"Active Record model bloat" is one of the most common and most harmful problems that afflicts Rails codebases.
Here's why it arises and how you can fix it.
codewithjason.com/bloated-ra…
Wrote a pretty sweet ruby gem for @usefathom's API that's in early access, pretty excited to see it evolve but I'm pretty happy with how the gem's turned out so far github.com/afomera/fathom_ap…
shout out to @excid3 for the assist tonight!