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 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
Major New Release of Gollum Wiki
Gollum is a lightweight Ruby wiki system that uses git as a backend. It started life as the engine behind GitHub wikis, but the open source version has since evolved significantly, leading to the recent release of version 5.0. This includes large performance gains, and many much requested features, such as: [more inside]
The Real Difference: `self.method_name` vs `class << self`
I wasn’t satisfied with some SO answers on the difference between self.method_name and class << self so I wrote a post to complement those answers.
TUNS - Twitter Unfollower Notification Service
Take a look at my last Open Source project. [more inside]
Rails, Turbolinks and animated page transitions
We wrote a post about Turbolinks and animations to help make Rails apps feel a little bit more like a single page app while retaining server-side rendering. [more inside]
Ruby on Rails integration guide for passwordless authentication with DID.app
DID.app is an Identity Provider, that authenticates users by verifying access to either an email address or securely stored private key. [more inside]