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.
Currency Input Masking with Cleave.js and Money gem in Ruby On Rails
I wrote a small article describing my setup of providing my app users with a better experience while entering money related data. You can read it here
Exposing permissions in GraphQL APIs with Action Policy
This post discusses authorization aspects of GraphQL apps, mainly the ways to expose users permissions to frontend applications (with the help of a newly published action_policy-graphql gem).
Kittyverse Gem Update - Let's build a CryptoKitties gene / genome reader
Hello, I’ve updated the kittyverse library / gem to add the machinery to slice & dice the kitty / digital cat genome / genes. See the let’s build a cryptokitties gene / genome reader in 10 lines of ruby code sample. Happy (crypto) coding with ruby.
RailsConf 2019 video coverage of Confreaks (link to youtube)
Confreaks (https://confreaks.tv/) apparently released coverage of RailsConf 2019. I hope there is more to come. The link to the youtube playlist is: https://www.youtube.com/playlist?list=PLE7tQUdRKcyaOq3HlRm9h_Q_WhWKqm5xc
action_policy-graphql gem
This gem provides integration for using Action Policy as an authorization framework for GraphQL applications (built with graphql ruby gem).
This integration includes the following features: [more inside]
[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 :)