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.
[PODCAST] Eileen Uchitelle of Github/Rails Core Team
A new episode of the Maintainable Software Podcast features Eileen Uchitelle from the Rails Core Team. She speaks about upgrading Github from Rails 3.2 to 5, and some lessons learned from a major Rails upgrade. [more inside]
Migrating millions of Redis keys without downtime
I wrote an article explaining how we migrated millions of Redis keys without incidents or downtime at Shopify
How to use Vue.js in a Rails project with Turbolinks
The web is moving away from jQuery. Unlike React and Ember, Vue.js is simple and straightforward, so let’s add it to a sample Rails application!
Using the CryptoKitties Unofficial (v0) and Official (v1) Public APIs w/ Ruby
Hello, I’ve written-up a short article on “How to Use the CryptoKitties Unofficial (v0) and Official (v1) Public HTTP JSON (web service) APIs” with ruby and the kittyverse library / gem. Happy data wrangling and cat herding with ruby.
Interview with Riaz Virani
Riaz talks about his experience with organizing and hosting the Atlanta Ruby Users Group meetup. We discuss sponsors, hidden costs of hosting meetups and general tips for guests. https://www.driftingruby.com/episodes/interview-with-riaz-virani
Rails 6 Upgrade Best Practices
Rails 6 is right around the corner, 6.0.0.rc1 was released in late April. Is your app ready for the latest version of Rails? Follow these best practices to make your upgrade go as smoothly as possible. Rails 6 Upgrade Best Practices
Rails HTML Polling Without JavaScript
Write simple HTML polling using Ruby on Rails ONLY and render_async gem. [more inside]
How to use ActionMailbox in Rails 6
Action Mailbox let’s you process inbound emails with Rails so you can add features like “reply by email” easily to your apps. In this screencast, we’re walking through all the basics you need to know to start handling inbound emails in your apps. How to use ActionMailbox in Rails 6
Continuous Integration and Delivery for Ruby on Rails using CircleCI
Continuous integration and delivery pipeline can have a significant impact the dev team’s productivity and stability of production releases. In this tutorial, I describe how to automate testing, security checks, and deployments for Ruby on Rails apps using CircleCI. I cover a basic CI setup as well as more advanced features like concurrent specs, dependencies caching, NodeJS/Webpack setup, Heroku deployments, and GitHub integration. [more inside]
Export your middleman articles to medium
If you have a middleman blog and considering cross-posting articles to medium. There is a gem you can use. Have a look 😁
FactoryTrace Gem
factory_trace gem helps you to find unused factories and traits, for now FactoryBot is supported only. Any contribution is welcome!
jsonapi-scopes Gem
This gem allows you to filter and sort an ActiveRecord relation based on a request, following the JSON:API specification as closely as possible. [more inside]
xpool.rb 2.0.0 released
xpool.rb is a light weight in-memory process pool that was built with xchannel.rb. A process pool can utilise all CPU cores on CRuby, while also providing an isolated memory space for running a job. The 2.0.0 release is much more simple. Please have a look :)
Rails-Pretty-Logger Gem
A new version of Rails-Pretty-Logger gem has been released, track your logs from dashboard, filter by date , use highlight, add hourly rotation option if you need. Have fun :)
[ANN] Sudo Rails - Sudo mode for your Rails controllers
I just released a first version 🚀 of a new gem: Sudo Rails, sudo mode for your Rails controller. You can easily protect any Rails action with a customizable password confirmation strategy (ships with Devise and Clearance integration), just use the sudo method: [more inside]
A Guide to Function Composition in Ruby
A comprehensive overview of Ruby 2.6’s “function composition” and how its new operators work, including how you can use them not just with Proc and Method but with any object that implements call. https://www.ghostcassette.com/function-composition-in-ruby/
How to Create Temporary Files in Ruby
You’ll learn about temporary files in Ruby. Exactly how to create them, how to use them & the key things you must know about. https://www.rubyguides.com/2019/05/ruby-tempfile/
kittyverse gem - cryptokitties helper classes for cattributes, traits, and more
Hello, I’ve updated the free (open source) kittyverse library / gem that includes helper classes for cattributes, trait types, traits, genes, genomes and more for cryptokitties and copycats cryptocollectibles (on the blockchain). Happy data wrangling and bits & bytes slicing w/ ruby. Cheers. Prost.
Feedi API - RSS
This service allows you to transform RSS feed into an awesome API. [more inside]