The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Kubernetes-native development: sync files with Ksync
Playing around to make a full-featured development environment on top of Kubernetes and sync files back and forth within Kubernetes and local machine.
How to use Uppy with ActiveStorage
Uppy is a Javascript library for uploading files via drag & drop, paste, Dropbox, Google Drive and more. Learn how to use Uppy with ActiveStorage to provide a nice UI for direct uploads in Rails.
Ruby conferences to attend in 2020
Do you still think Ruby is dying? Meanwhile, Rubyists get the sold-out at more than 20 conferences around the world. Here is the list of conferences to attend in 2020
New tty-config release
This newest release of tty-config brings a shiny new marshalling API. You can customize existing marshallers or add new ones to serialize data to and from files. This release also expands the list of supported formats with HCL and Java properties. Enjoy!
Ruby Quiz - Challenge #16 - Build the Manuscripts Book Manifest for Documents in Mark
Hello, It’s Friday. Ruby Quiz time! Join us for the first challenge in the new year in 2020! Here we go: Challenge #16 - Build the Manuscripts Book Manifest for Documents in Markdown Let’s read documents in structured text with formatting conventions in markdown and build up the chapter outline / manifest for the Manuscripts book format… Post your code snippets on the “official” Ruby Quiz Channel, that is, the ruby-talk mailing list. Happy book manufacturing and text processing with Ruby.
Rails Route Globbing
Using a wildcard syntax (*) when defining routes in routes.rb, we can slurp
up URL segments and make them available in our controller params. This blog post discusses this lesser known Rails routing feature with a potential use case.
Configuring Heroku to automatically run database migrations
When running database migrations is a manual step in your deployment process it’s easy to make mistakes that cause downtime. This blog post discusses how to configure Heroku to automatically run database migrations for a Rails app before the app is released.
How to move from single drop-down to check-boxes in production
When it comes to DB changes with zero downtime requirements on a Rails application in production it’s always scary. My recent blog post From Single drop-down to Multiple check-boxes describes how to do get rid this fear and make requested changes with confidence.
Inside Bitcon's Proof-of-Work / Waste 10-Minute Mining Lottery
Hello, I’ve put together an step-by-step article that breaks down the “magic” of Bitcon’s proof-of-work / waste 10-minute mining lottery. Follow (or just read) along with with many ready-to-run examples (in ruby) including what’s your hash rate per seconds and more. Happy secure hashing and blockchaining with ruby. Bonus: Learn the secret How to Buy Bitcon (The CO₂-Friendly Way) by Trolly McTrollface.
The Semaphore Guides to CI/CD
A roundup of recently published articles about the fundamentals of Continuous Integration and Delivery.
Rails is Fast: Optimize Your View Performance
Learn some effective performance and optimization techniques that you can use to speed up your Rails app - https://blog.appsignal.com/2020/01/22/rails-is-fast-optimize-your-view-performance.html
The Complete Guide to Migrate to Strong Parameters
Strong params is a huge blocker for your Rails upgrade project. Here is a guide to upgrade to strong params without spending a ton of time on it: https://www.fastruby.io/blog/rails/upgrades/strong-parameters-migration-guide.html
Continuous deployment Ruby application to Minikube with Skaffold
Simple guide about automating continuous deployment for cloud-native development with Kubernetes.
Optimize Your Debugging Process With Object-Oriented Tracing and tapping_device
I proposed a new strategy for debugging Ruby programs, called “object-oriented tracing” in my blog post. If you’re interested in improving your debugging skill, you must check it out ;-)
Reverse Coverage: a tool to find what specs cover a specific line of code
It uses the Ruby standard library’s Coverage component and produces an output similar to SimpleCov, works with RSpec and it’s open-source, check it out! https://nebulab.it/blog/reverse-coverage
Truemail 1.5.1 🚀 Configurable framework agnostic plain Ruby 📨 email validator
Truemail 1.5.1 released. Verify email via Regex, DNS and SMTP. Be sure that email address valid and exists: https://github.com/rubygarage/truemail
How to use AWS Cloud9 for Ruby on Rails development
Cloud9 is a browser based development environment so you can do Ruby development anywhere. See How to use Cloud9 for Ruby on Rails development with just a few simple setup steps.