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.
Day 07 - letter_opener @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Matt Swanson for the seventh write-up in the Ruby Advent Calendar 2020 - Day 7 - letter_opener Gem - Let Your Browser (Automagically) Open-Up Your Email Letters for Previewing. Stop Sending Emails to Yourself for Testing. Cheers. Prost.
Code Diary: How and Why to Keep One
As a developer with 10+ years of experience, I get value from keeping a code diary, a place to think aloud about design decisions, analyze impressive scraps of code found in the wild, or extract learnings from past mistakes. Here’s a video about the diarying process and the benefits: https://www.youtube.com/watch?v=tarmCEHfGa0
Day 06 - pay @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, lets thank Chris Oliver for the sixth write-up in the Ruby Advent Calendar 2020 - Day 6- pay Gem - Accept (One-Time) Payments or Subscriptions with Strong Customer Authentication (SCA) - Billing Engine on Top of Stripe, Braintree or Paddle. Cheers. Prost.
Using Docker on Apple silicon with a remote Docker engine
Not strictly Ruby, but many Ruby developers use Docker. I wrote a post on using a remote Docker engine on the new Apple silicon Macs while we wait for official support. The post also covers a workaround for bind mounts which otherwise don’t work with a remote Docker engine. I have been working with this setup for a couple of days now and I barely notice the difference compared to a normal Docker setup. Hope it’s useful to others too. [more inside]
Day 05 - factory_bot @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, lets thank Jason Swett for the fifth write-up in the Ruby Advent Calendar 2020 - Day 5 - factory_bot Gem - “Hey, Make Me a User with an Email and Password” - Setup Factories That Make You Fake Objects with Fake Data for Testing. Cheers. Prost.
Rails & Next.js Project Skeleton (w/ Docker)
Running Rails with a separate frontend app doesn’t have to be complicated: https://twitter.com/p_ch/status/1334802423882330112
Day 04 - noticed @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, lets thank Chris Oliver for the fourth write-up in the Ruby Advent Calendar 2020 - “Day 4 - noticed Gem - Send Notifications Immediately or for Later Delivery (in the Background) via Email, Slack, Text Message, Real-Time ActionCable in the Navbar or Many More Channels”. Cheers. Prost. PS: This notification is (old-school) hand-delivered :-).
Ruby on the Frontend? Choose Your Weapon
We all know that Ruby is a great language to use for the backend of your web application, but did you know you can write Ruby code for the frontend as well?
Day 03 - blazer @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, lets thank Marc Köhlbrugge for the third write-up in the Ruby Advent Calendar 2020 - “Day 3 - blazer Gem - Explore Your Data with SQL. Easily Create Charts and Dashboards. Business Intelligence (BI) Made Simple”. Cheers. Prost.
Building a Multi-tenant Ruby on Rails App With Subdomains
Discover different approaches to multitenancy and build a simple app with multiple tenants where each tenant will have its subdomain. [more inside]
SudoRails v0.6.0 has been released 🚀 Sudo mode for your Rails controllers 🔒
Protect any Rails action with a customizable password confirmation. 🙇 Inspired by GitHub Sudo mode. [more inside]
Day 02 - elastic-enterprise-search @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, lets thank Fernando Briano for the second write-up in the Ruby Advent Calendar 2020 - “Day 2 - elastic-enterprise-search Gem - Workpalce Search, App Search, and Site Search All Together”. Cheers. Prost.
Day 01 - local-time @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, lets thank Matt Swanson for the first write-up in the Ruby Advent Calendar 2020 - “Day 1 - local_time Gem - Cache-Friendly and Timezone Aware Timestamp Formatting”. Cheers. Prost.
Truemail 2.2.0 has been released 🚀 configurable plain Ruby 📨 email validator
Added ability to use fail fast behaviour for SMTP validation layer. It helps to reduce total time of SMTP validation session up to 1 second. Be sure that email address valid and exists. https://github.com/truemail-rb/truemail
Stimulus Pearls: A collection of Stimulus.js tutorials
22 Tutorials, updated with the latest version of Ruby on Rails and Stimulus.js. You’ll also receive the source code from all the tutorials, so you can run each example and dig through the internals. https://onrails.blog/2020/11/30/stimulus-pearls-a-collection-of-stimulus-js-tutorials/
The distiction between default and bundled gems in Ruby
If you ever wondered, what are default and bundled gems in Ruby, now you know :).
Ruby on Rails vs. Django in 2020 and Beyond
Which should you choose for your new project? [more inside]
6 Things to Do When Inheriting Legacy Rails Apps
One of our engineers wrote a post about the steps to take when inheriting a legacy rails app and I wanted to share it here. Let me know what you think.
How To Create Custom Shopify App With Rails?
Creating an application for shopify using Ruby on Rails is very easy. Learn More about How To Create Custom Shopify App With Rails https://www.botreetechnologies.com/blog/how-to-create-custom-shopify-app-with-rails/
factbook gem & factbook.json 2020 Update - 260+ World Country Profiles / Datasets
Hello, Time flies! After some years I have finally updated the world factbook.json datasets and the “chrome-less” country profile web pages using the latest online country profile pages from the Official CIA World Factbook website. The web page structure has changed a little so I have updated the factbook page parser too - packaged up in the factbook-reader gem / library for easy (re)use. If you find anything of notice in the updated datasets, pages, parser, etc. please tell. Happy exploring the world. Cheers. Prost. PS: Geo Quiz: What’s the name of the country? ______ Hint: The country is landlocked; strategic location at the crossroads of central Europe with many easily traversable Alpine passes and valleys; major river is the Danube; population is concentrated on eastern lowlands because of steep slopes, poor soils, and low temperatures elsewhere.
Imgproxy is Awesome
I wrote a post on using imgproxy and why I like it so much better than handling different image versions in your app.