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.
Integrating Chargebee subscriptions and recurring billing with a Rails app
Hi everyone. I wrote a post on how to implement subscriptions and recurring payments in Rails with Chargebee. Chargebee is an awesome service with lots of features - which would take ages to build/replicate, it requires very little code (which you won’t need to touch if you change payment gateways or if some law changes), and support is excellent. It’s also totally free with the “Launch” plan until you reach 50K in revenue. link.
Authenticate using Stormpath in a Ruby on Rails Application
Do you want to focus on your core applications and get to market faster without worrying about authentication, authorization and security?
backup - a github repo backup command line tool (powered by gitti/backup)
Hello, I’ve updated the gitti-backup gem that lets you backup your github repos (using git clone –mirror & git remote update) with a command line tool or with the GitBackup class. Cheers. Prost.
Rightward Assignment in Ruby
check and quickly learn the new feature of Ruby called ‘Right ward Assignment’
These Rails apps are overpacking their JavaScript bundles
I’ve discovered several of my favorite Rails applications are making browsers handle more JavaScript than necessary while attempting to send less. We’ll find out why and how to fix the issue with the Webpacker “Packing Checklist.” Read more
Continuous Blue-Green Deployments with Kubernetes
Follow this tutorial and learn how to create a CI/CD pipeline that deploys a Kubernetes app using the blue-green methodology. Read more
Proportional dispatching using Ruby
In this article we’re going to show you how to implement an algorithm to handle quota-based dispatching using pure Ruby
[Screencast] GitHub Actions
GitHub Actions makes it easy to automate all your software workflows, now with world-class CI/CD. Build, test, and deploy your code right from GitHub. In this episode, learn to set up GitHub Actions on your Ruby on Rails application with automated tests, code coverage reporting, and security testings. https://www.driftingruby.com/episodes/github-actions
HashWithIndifferentAccess in Rails
In this post for beginners, we will checkout how ActiveSupport::HashWithIndifferentAccess works. Read more
How to Build Blog with Ruby on Rails (Part 3)
Using Bootstrap for Rails application:
I just launched a free step-by-step course where I build a real production Rails App
I’ve gained so much from the Rails community, and I want to give back. That’s why I’ve created a free course where I build a real production Rails application from start to finish. You see the whole process as if we are pairing. Read more
Using git with ruby - gitti gem - (yet) another (lite) git command line helper
Hello, I’ve updated the gitti gem that is (yet) another (lite) git command line wrapper / helper that lets you use / script git with ruby using the Git or GitProject class. Cheers. Prost.
How to Build Blog with Ruby on Rails (Part 2)
Learn about Active Record and creating CRUD Post for Blog application
tty-markdown v0.7 and tty-markdown-cli are out
The newest tty-markdown comes with many new features like support for definition lists, footnotes, XML comments and popular HTML elements. It improves table and link formatting as well as squashes some pesky bugs. Ah there is also a new companion tty-markdown-cli gem that installs tty-markdown executable. Enjoy!
Modern Rails flash messages with ViewComponent, Stimulus & Tailwind CSS
One way how to get rid of the repetitive and annoying “Are you sure?” question when deleting records using modern Rails flash messages.
Ruby Next 0.10.0: Shorthand Hash notation and more
This release brings some edge Ruby (3.0) features (find pattern, leading arguments in forwarding, Hash#except) and also adds support for the proposed short Hash notation (like in ES6).
What is Canary Deployment?
Learn what canary deployment is and how it works, the pros and cons, and what’s the difference between canary and blue/green. Read more
Introduction to DSL by implementing Rake
We’re going to implement the very first draft of Rake — by Jim Weirich 🙏 himself