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.
On maintaining my static website generator webgen
My static website generator webgen has been around for a long time. Though there are now many other static website generators written in Ruby I still maintain webgen because some of its functionality is unique.
Decorating Ruby - Part One - Symbol Method Decoration
First part out for how to decorate methods in Ruby, redefining methods by name and using prefix methods.
ExceptionNotification v4.4.0 is out 🚀
Including support for Rails 6.0 among other things
Maintainable Rails: A Newsletter
Are you in need of a healthier, more stable and secure Rails application? The Maintainable Rails email newsletter will give you weekly tips and tricks for a better Rails app. [more inside]
Alphabets Benchmarks - How many ways to unaccent a text string? And the winner is...
Hello, let’s try out half a dozen ways to unaccent a text string?
What’s the fastest way to turn AÄÁaäá EÉeé IÍiíï NÑnñ OÖÓoöó Ssß UÜÚuüú into AAAaaa EEee IIiii NNnn OOOooo Ssss UUUuuu? Let’s benchmark and the winner is… Spoiler: gsub . Can you find a faster way? Show us. Happy data (and text) wrangling with ruby. Cheers. Prost.
Magic Comments in Ruby
In this article, we’re going to explore the following topics:
fifa gem - the world's football countries and codes (incl irregulars and non-members)
Hello, I’ve put together a new fifa gem / library that includes all the world’s football countries and codes (incl. non-member countries and irregular codes). Use Fifa.countries to get a list of all countries or Fifa['ENG'] to lookup the record for England, for example.
Happy data wrangling with ruby. Enjoy the beautiful game. Cheers. Prost.
A Complete Guide to the Ruby Programming World
This article helped me decide to start learning Ruby, as it had some great insights of why Ruby is worth learning. [more inside]
Improve up your Rails controllers using a pub/sub pattern
This article will introduce you to the pub/sub pattern, and show you how to improve your Rails controllers by implementing it using the whisper gem [more inside]
The Road to $10,000 Profit from my Rails Side Project Slack Bot
My side project Slack app Abot has recently reached a milestone of $10,000 total profit. In this blog post, I describe how the project has changed during the last year and what I am doing to grow and promote it. I also share some details about the usage stats and profit. [more inside]
How old are dependencies in your (ruby) project?
A short article about a basic way to visualize the age of dependencies in a ruby project and assess the outcome of upgrading them.
Kittyverse Gem Update Incl All CryptoKitties Traits & Genes, Fancy Cat Recipes & More
Hello, I’ve updated the kittyverse gem / library that includes all CryptoKitties traits (e.g. fur, eye shape, pattern, …) and all fancy / exclusive / special editions cats (with time windows, limits, recipes and much more. Happy data wrangling with ruby. Cheers. Prost. PS: For a list of all fancy cats see the auto-generated Fancy / Exclusive / Special Edition Cats - Timeline page, for example.
tty-link - hyperlinks in your terminal
The tty-link allows you to check and display hyperlinks in terminal emulators that support them such as iTerm and any VTE compatible emulators. Enjoy!
How to Correct 32,000 Incorrect CSV Files in Fewer Than 32,000 Steps
Figuring out where an extra comma is in a CSV is an interesting problem involving some real math that I wish I remembered easier. The story behind writing the comma_splice gem.
Interview with DHH on Remote Ruby
Jason and Chris talk with David Heinemeier Hansson. David shares how we got started in programming, how he found Ruby and subsequently created Ruby on Rails, his love for Ruby, how he approaches the topic of “Rails is dead,” and much more.
Ciao – HTTP checks and tests monitoring
ciao checks HTTP/S URL endpoints for a HTTP status code (or errors on the lower TCP stack) and sends a notification on status change via E-Mail or Webhooks. [more inside]
Fullstaq Ruby: first impressions
Hey, old-timers, remember REE? It is back! [more inside]
How to Use The Ruby Uniq Method To Remove Duplicates
You have an array with duplicates, but you want only unique elements. What can you do? Use the “Array#uniq” method. Did you know that this method takes a block? Learn more here: