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 Evolution of Ruby Strings from 1.8 to 2.5
An overview of the String class since Ruby 1.8.. SEE MORE
Greatest Common Divisors using LISP and Ruby
Compare the elegant solution of MIT-Scheme and Ruby to implement the Euclid algorithm to compute GCD: Greatest Common Divisors using LISP and Ruby
Ruby Conferences 'n' Camps in 2019 Update - What's Upcoming in Sept? Nov? Dec?
Hello, I’ve updated the Ruby Conferences ‘n’ Camps in 2019 - What’s Upcoming? Calendar page @ Planet Ruby. [more inside]
Debugging Ruby projects in Visual Studio Code
In this article I explain how configure Visual Studio Code debugger for your Ruby project in clean and simple way using .rbenv, and bundler. [more inside]
Cypress for Ruby on Rails developers
In this article, we demonstrate how to integrate Cypress into a Ruby on Rails development cycle by setting up tests in both local and CI environments. Check it out!
Ruby Pattern Matching
Go-to reference for Ruby Pattern Matching https://medium.com/cedarcode/ruby-pattern-matching-1e84cab3b44a
Why do we fail at abstractions?
We have all been there. We got a task to introduce totally new functionality. New database relations, controllers, services, models, views. We all said: this time it will be different. We asked the right business questions, and designed exactly what was requested. In spite of that, three sprints later, things got messy. The code is rigid, the business requirements have changed and the project is out of hand, again. [more inside]
From TravisCI to GitHub Actions
If premature optimization is the root of all evil, should procrastination until the right tool arrives be divine? If so, then yours truly would be the Patron saint of pragmatic & lazy programmers everywhere. I’m no adoption curve laggard, rather more like an early majority adopter with an extended view of the x-axis 😅 and I’m here to convince you that now is the right time to reevaluate your CI/CD needs.
sportdb Gem Guide - Working w/ Football CSV Files - English Premier League 2019/20
Hello, I’ve updated the hands-on getting started guide for the new sportdb text library / gem. Let’s build the standings table for the English Premier League (EPL) for the 2019/20 season from all 40 matches (as of Sept/2) in the comma-separated values (.csv) format. Full article titled “Working with CSV Files”. Enjoy the beautiful game with ruby.
[Screencast] Push Notifications with ActionCable
In this episode, we look into using Push Notifications within our Rails application and then using ActionCable to broadcast Push Notifications to the user. https://www.driftingruby.com/episodes/push-notifications-with-actioncable
DNS rebinding attacks protection in Rails 6
See how Rails 6 has added protection against DNS binding attack issue that existed for a long time. [more inside]
Scope gates in Ruby: Part I
We’re going to talk about method and class scopes. SEE MORE
How to learn Enumerable really really ridiculously good
Enumerable. It’s one of the most important modules in Ruby. You use it all day, every day – to filter lists according to some criteria, query lists about their contents, divide them into groups… and a whole lot more. How do you learn all that this powerful module has to offer? Read more