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.
The defined? keyword in Ruby
An overview of the defined? keyword with a use case from the Ruby source code.. and an optimization tip!
Rails Concerns: To Concern Or Not To Concern
Should you be concerned about Rails concerns? [more inside]
Interesting Methods to Work with Ruby Hashes in A Better Way
Learn more about important methods for ruby hashes. Taking care of some mistakes while accessing ruby hashes and working on it.
Zero-Downtime migrations in Rails
Often, we rename a column and deploy to find out the Honeybadger screaming at us with the errors accessing column with the old name! [more inside]
How to Test Gem Dependencies with Appraisal
If you’re building a gem or just want to test your app against multiple versions of your gem dependencies, the Appraisal gem makes this process really simple. Watch the screencast on how to use the Appraisal gem to test multiple gem dependencies and versions
Communication between multiple docker-compose projects
Hey all, learn how to make all your dokcer-compose projecto communicate to each other:
Function Composition: Python vs Ruby
Learn more about Function Composition here:
football.db Gem Family 2020.9 Update for Season 2020/21
Hello, I’ve updated the complete football.db Gem Family for Season 2020/21. The football.db gems incl. zero-config ready-to-use datasets / classes for all FIFA countries (240+), the world’s top football leagues & clubs and more. Enjoy the beautiful game with ruby. Cheers. Prost.
How I Monitor My Website With Syslog Alerts and Monit [video]
System failure is not binary - your application may be slow, or restarting too often, or teetering on the edge of disaster. System monitoring is how you detect these issues - either before or after the fact. I show you how I scan my aggregated logs from multiple components for certain logged error conditions (e.g. hacking attempts). If serious ones crop up, an email alert is triggered. Next I demonstrate how to use Monit to get real-time stats on your system’s CPU and RAM usage. Following that I use another tool to graph my RAM usage patterns over the last week. Zooming out again, I introduce response time stats. [more inside]
Glimmer DSL for Tk 0.0.5
Glimmer DSL for Tk 0.0.5 ships with Hello, Computed! having computed-value data-binding and grid geometry manager support.
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.
3 ways make private methods private in Ruby
An overview of the different ways to make class methods private in Ruby
How to Build Blog with Ruby on Rails (Part 4)
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)
Conditional class opening in Ruby
Why the resolv-replace library monkey-patches the SOCKSSocket class under specific conditions..
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
Ruby Jard - Just Another Ruby Debugger
Please visit 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.