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.
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 -
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:
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!
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:
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.
Continuous integration with GitLabCI - Setup and integration guide
A comprehensive, beginner-friendly guide to setting up continuous integration in your next Rails project with GitLabCI
SimpleAMS: Modern Ruby serializers
A little bigger than expected blogpost regarding a library (SimpleAMS) I have built for serializing Ruby objects. The blog post goes through some history regarding Ruby serializers, presents the SimpleAMS lib, and compares it with some common Ruby libraries (benchmarks included!). Ends with some talk regarding APIs.
Yukihiro Matsumoto: "Ruby is designed for humans, not machines"
We’re thrilled that our good friend Yukihiro Matsumoto, creator of the Ruby programming language, has been able to join us at RubyRussia 2019 as a speaker for the second time, having previously spoken three years ago at RubyRussia 2016. [more inside]
Let’s talk about that 15% Ruby claim
DHH wrote Only 15% of the Basecamp operations budget is spent on Ruby about how his company only spent 15% of their $ 3,000,000 annual budget on Ruby systems. I’d like to share some thoughts about that: https://medium.com/@wintermeyer/i-call-bs-on-the-15-ruby-claim-5c37a4bd00b6
Monobank API Ruby
Unofficial Ruby Gem for Monobank API -
Testing signed and encrypted cookies in Rails
Signed and encrypted cookies are really easy to use in Rails, but less clear is how to test them. Some test classes make it easy, others do not. So how do we test signed and encrypted cookies in Rails?
How to solve flaky Rails specs
continuing the recent discussions in the community about flaky Ruby tests, I introduce a project that shows flaky rspecs and example solutions. This can be used to practice fixing real-world flaky Rails test suites.
Pros and Cons of Using structure.sql in Your Ruby on Rails Application
Discover the major differences and benefits of using structure.sql vs schema.rb in your Ruby on Rails application. [more inside]