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 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.
108 Megapixel camera phones - your ImageMagic will crush
We are living in a age of ridiculous smartphone cameras. Chances are you will see user uploading 108 Megapixel images and your ImageMagic crushing when ActiveStorage variants process them. In this article I’ll show you a solution [more inside]
A Rubyist's Apple M1 Review
A broad look into the Apple M1 from the perspective of a Ruby Developer. We look at a lot of the different aspects; Docker, asdf Ruby, Visual Studio Code, and more. https://www.driftingruby.com/episodes/a-rubyist-s-apple-m1-review
Hix on Rails - Well maintained Ruby on Rails project generator
Hix on Rails injects the setup wizard into the usual Ruby on Rails new project creation flow. [more inside]
If Ruby Had Imports…
Sometimes it’s bonkers how much you have to import in other languages in every file before you get to the actual code. Thankfully Ruby provides a better way. Read this article for a funny thought experiment and an overview of Zeitwerk and Ruby autoloading.
Apple M1 Findings
In preparations for a Drifting Ruby screencast on the Apple M1 findings from a Rubyist perspective, I’ve created a thread with all of the findings. https://twitter.com/DriftingRuby/status/1331435018325987329?s=20
Ruby Advent Calendar 2020 - 25 Days of Ruby Gems / Libraries - Claim A Day!
Hello, a little reminder. Starting up in 5 days! I’m trying a new edition of the Ruby Advent Calendar this year in 2020 - 25 Days of Ruby Gems / Libraries from December 1st to December 25th. Have your say, yes you can! Claim a free day (and post about your favorite ruby gem). Cheers. Prost.
Pitfalls of Rails db transactions
this article you can have a look on common Pitfalls of Rails db transactions [more inside]