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.
Are your workers working?
Link: https://blog.joshsoftware.com/2016/01/18/are-your-workers-working/ [more inside]
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.
Google Maps + Places Autocomplete with Rails, Turbolinks & Stimulus.js
Google Maps has not played well with Rails and Turbolinks. Using Stimulus.js, we can make it work seamlessly using custom events in Javascript to tie the two together allowing us to add maps and location search autocomplete from Google Maps extremely easily. Watch the screencast
Upgrading Rails: Tracking down deprecated callbacks in Rails 5.0
If you find yourself upgrading a Rails 5.0 app, I wrote a monkey-patch that makes it easier to track down deprecated callbacks 🔎 [more inside]
Optimised Docker builds for Rails apps
Hi, I wrote a post on how I do Docker builds for Rails apps. It features some tips such as having an external, shared cache for gem bundle and precompiled assets to speed builds up. [more inside]
[Screencast] Google Maps API with StimulusJS
Add unobtrusive maps to your application using StimulusJS to tie in Google Maps Javascript API and Places API. https://www.driftingruby.com/episodes/google-maps-api-with-stimulusjs