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.
How to set up a continuous integration pipeline for a Rails dual boot
Best practices and step-by-step instructions for setting up a CI pipeline for a Rails dual boot. This tutorial uses CircleCI.
Podcast Interview: Sandi Metz
Sandi Metz is featured on this week’s episode of the Maintainable podcast. She discusses topics related to maintenance and legacy code, and some thoughts on the Rails framework and Ruby programming language (like why she wouldn’t use Ruby to build a robot that operates on babies). [more inside]
NomTracker (Barebones Calorie Tracker in React/Rails)
A little side-project I did using Rails and React. A small, barebones calorie tracker. Thought I’d share it! [more inside]
Dude Policy - gem for policy objects from perspective of user
Dude Policy - policy objects in Ruby on Rails application from perspective of current_user/current_account. [more inside]
Improve code readability with closures in Ruby
In my recent post I share the process of code reading and its complexity reduction with closures.
Ralix - Microframework for building and organizing Rails front-ends
Ralix is a JavaScript microframework with the goal to provide barebones and utilities to help enhance your current Rails (server-side rendered) views. It pairs really well with Turbolinks. [more inside]
The Ruby Blend Episode 8: Tests and Webpacker
As the guys stay quarantined in their houses video games seem to help pass the time for some. In this episode they talk about GitHub sponsors. Also, making sure you keep your tests up to date, “hairy” problems in StimulusReflex, and Webpacker 5 and 5.0.1 coming out. The guys also talk working remotely from home and how they’ve all had challenges to face. And the big question is, “Why is Andrew always getting chastised for testing?” You will see, so listen here or on your favorite podcast player!
I've launched a new newsletter with all my Ruby posts
I’ve launched That Weekly Tech with 3 Ruby posts ––> https://www.thatweeklytech.com - Active Storage File Upload Behind The Scenes - Geared Pagination in Rails Behind The Scenes - JSON in Rails behind the scenes - More content to come…
Requiring a file or library in Ruby:
A deep dive into the require
and require_relative
method + a quick refresh on relative and absolute paths. SEE MORE
@CovidRadarBot for telegram
Telegram bot written in ruby. Coronavirus cases: statistics, charts and trends. Try it https://t.me/CovidRradarBot Source code https://github.com/Covid-Lab/covid_radar
The Citadel Architecture at AppSignal
Check out how AppSignal uses the Citadel pattern and how our system works. https://blog.appsignal.com/2020/04/08/the-citadel-architecture-at-appsignal.html
How to build a conference line with Twilio and Ruby
It’s a weird world we live in right now, so much remote work, so many people working from home. There’s been an increase in the number of video calls, but what if you just want a voice conference call without choosing an app? You can set up a conference line easily with Twilio, and this is how to use Ruby and Rails to do so.
footballdata 2020 Update - download & import & query 22+ top football leagues
Hello, I’ve updated the sportdb-source-footballdata gem / library that lets you download & import & query 22+ top football leagues from 25 seasons back to 1993/94 - all together about 1000+ clubs, 200000+ matches. For a list of included clubs (by country) see the SUMMARY page. Enjoy the beautiful game. Cheers. Prost. Stay home. Wash hands. PS: For (even) more football datasets (in the csv format) see the football.csv project.