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.
Eventide Test Abstractions: Testing So Easy It Feels Like Cheating
Introducing Eventide fixtures, a test abstraction that greatly reduces the effort required to write tests by providing a set of specialized assertions that dramatically improve the ease of verifying the operation of all aspects of Eventide systems. And Eventide fixtures are just plain old Ruby objects, which can be tested like any other object. https://blog.eventide-project.org/articles/introducing-eventide-fixtures/
3 ways make private methods private in Ruby
An overview of the different ways to make class methods private in Ruby https://medium.com/rubycademy/3-ways-to-make-class-methods-private-in-ruby-64b970e54613
How to Build Blog with Ruby on Rails (Part 4)
Upload Photo for Blog application https://fullstackrubyonrails.com/blog/upload-photo-for-blog-application
Glimmer DSL for Tk 0.0.4 Hello, List! & Girb
Glimmer DSL for Tk alpha 0.0.4 has been released with the list custom widget and Girb (Glimmer IRB) https://andymaleh.blogspot.com/2020/09/glimmer-dsl-for-tk-004-hello-list-girb.html
Conditional class opening in Ruby
Why the resolv-replace library monkey-patches the SOCKSSocket class under specific conditions.. https://medium.com/rubycademy/conditional-class-opening-in-ruby-49a4524b7f85
Glimmer DSL for Tk 0.0.3 Hello, Combo!
Glimmer DSL for Tk alpha 0.0.3 has been released! It now supports: Combo box bidirectional data-binding & Button command event binding https://andymaleh.blogspot.com/2020/09/glimmer-dsl-for-tk-003-hello-combo.html
Ruby Jard - Just Another Ruby Debugger
Please visit https://rubyjard.org/ for more information. Ruby Jard provides a rich Terminal UI that visualizes everything your need, navigates your program with pleasure, stops at matter places only, reduces manual and mental efforts. You can now focus on real debugging.
Glimmer DSL for Tk 0.0.2 Hello, Tab!
Glimmer GUI DSL concepts have been explained in regards to how they map to the Tk imperative syntax for building desktop GUI applications. https://andymaleh.blogspot.com/2020/09/glimmer-dsl-for-tk-002-hello-tab.html
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. https://www.botreetechnologies.com/blog/ruby-on-rails-development-performance-boosting-tips
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). https://andymaleh.blogspot.com/2020/09/glimmer-dsl-for-tk-has-arrived.html
An SMS Reminder With Ruby & A Raspberry Pi
A very modest setup for periodic SMS reminders. https://emmanuelhayford.com/building-an-sms-reminder-with-ruby-raspberry-pi/
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? https://www.botreetechnologies.com/blog/authenticate-using-stormpath-in-a-ruby-on-rails-application
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’ https://www.kushalmistri.com/post/rightward-assignment-in-ruby
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 https://medium.com/rubycademy/proportional-dispatching-using-ruby-378afbdeb32d
[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