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.
Top 10 tips to Boost Ruby on Rails Development Performance
Ruby on Rails web development is an excellent platform for web development. Here are 10 tips that can boost the performance for Rails 6 application.
Glimmer DSL for Tk has arrived!
Glimmer (Ruby Desktop Development GUI Library) DSL for Tk has arrived! Glimmer was originally created on top of SWT because Tk did not support native GUI widgets on Mac, Windows, and Linux back in 2007. Tk used to be more akin of Java Swing, having painted widgets that looked foreign on all platforms. Tk 8.5 changed that by supporting native widgets. Glimmer was also originally created on top of JRuby because standard Ruby did not have truly parallel multi-threading, required for desktop application development to run jobs in the background while letting the user interact with the GUI in the foreground. Upcoming Ruby 3.0 changes that by finally supporting truly parallel multi-threading via Ractor (formerly known as Ruby Guilds).
An SMS Reminder With Ruby & A Raspberry Pi
A very modest setup for periodic SMS reminders.
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.” [more inside]
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. [more inside]
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. [more inside]
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. [more inside]
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.