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.
Sending and tracking faxes in Ruby
Yes, faxes are a relic, but I had to send one this week so I built an app. It covers file input, uploading and serving in Sinatra and using the Twilio API to send a fax. And if you ever need to send a fax (it happens, apparently) this is how you can do it and make sure it arrived.
Ruby on Rails with Visual Studio Code in 2020
Discover how to customise Visual Studio Code for efficient Ruby on Rails development with extensions, themes and tasks.
_why interviews DHH
In the latest edition of PastRubies, we see a fantastic 2004 interview with two Ruby legends.
Rails Development with Docker
In this guide, we will cover the basics of our Docker development environment for Rails.
Sidekiq::Undertaker
Sidekiq::Undertaker is a plugin for Sidekiq. It allows exploring, reviving (retrying) or burying (deleting) dead jobs. For easy exploring the dead-jobs queue is broken down into time windows (buckets) of hours, days and weeks. [more inside]
Organize your Ruby code using blocks
Real world refactoring example (after code review), where happy path is made obvious through block usage.
express graphql mongodb boilerplate
New Features, Methods & Improvements in Ruby 2.7
Ruby 2.7 is coming! Discover the most interesting changes in this new Ruby version & get ready for the update:
Introducing Skunk v0.3.2 at RubyConf 2019
A walk-through of what was the issue with the previous version of Skunk (presented at SolidusConf) and the solution of it which was later presented at RubyConf 2019. [more inside]
Working Around ActiveRecord Callbacks
I just published an article over on my company’s site called Working Around ActiveRecord Callbacks. In it I talk a little bit about the issues with ActiveRecord callbacks and how they don’t scale well once your app grows beyond being a “simple CRUD app”. I got on to explain a useful technique for working around troublesome callbacks when you don’t have the resources to refactor them out into service classes or some other pattern.
ActiveWorkflow 0.9.6 released - Automation powered by software agents
You can now write your software agents in any programming language you like, including Ruby of course. An agent written in Python is given as an example. You can find full documentation for this feature at Remote Agent API.
Tap on your Ruby objects!
I just wrote a post to introduce some powerful features of the tapping_device gem and how you can use them to speed up the debugging process!
PyTorch made available for Rubyists
torch-rb, the new experimental LibTorch’s bindings for Ruby, is another step to make Ruby a viable solution for Deep Learning applications.
Store in a single table all your models
A very simple way to define the schema of your DB in a single file. Simply define your models and attributes and use them as a regular AR model. [more inside]
whatson gem / library incl. rubyconf command line tool powered by event.db
Hello, I’ve updated the rubyconf command line tool (that’s packaged up in the whatson gem / library)
and powered by event.db (that is, the eventdb gem / library). Use $ rubyconf to print
out ongoing and upcoming ruby conferences & camps. Resulting in: [more inside]
Semaphore 2.0 now provides free CI/CD pipelines for open source organizations
Each open source organization receives unlimited CI/CD minutes for building public repositories on Linux, macOS or Docker. Read more →