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.
Diving into Hotwire
In this episode, we look at the installation scripts of Hotwire and get a better understanding of what they’re doing in order to integrate it into our applications more efficiently. https://www.driftingruby.com/episodes/diving-into-hotwire
Day 2 - blockchain-lite @ Ruby Blockchain Week 2021 - 7 Days of Ruby (Crypto) Gems
Hello, let’s welcome the second write-up in the Ruby Blockchain Week 2021: Day 2 - blockchain-lite Gem - Build Your Own Blockchains with Crypto Hashes. Revolutionize the World one Block at a Time!. Cheers. Prost
Day 1 - compute_unit @ Ruby Blockchain Week 2021 - 7 Days of Ruby (Crypto) Gems
Hello, let’s thank Corey Osman for the first write-up in the Ruby Blockchain Week 2021: Day 1 - compute_unit Gem - Collect Real Time Metrics ‘n’ Manage Compute Units (GPU, CPU, and ASICs) for Crypto Mining Rigs. Cheers. Prost
5+ Free Ruby Crypto (Blockchain) Programming Books @ Best of Crypto Books
Hello, hint: would love to see a write-up about any gem (e.g. kittyverse, blockchain-lite, universum, ed25519, etc.) from the Ruby Blockchain Programming books in the Best of Crypto Books collection. Join us in the new year in 2021 and claim a free day in the upcoming Ruby Blockchain Week 2021, January 3rd to January 9th - 7 Days of Ruby (Crypto) Gems. Why not highlight a blockchain / cryptos gem with your write-up in the ruby universe? Yes, you can! Cheers. Prosit 2021!
Ruby Conferences & Camps in 2021 - What’s Upcoming? - New Page @ Planet Ruby
Hello, To celebrate the new year I added a new Ruby Conferences & Camps in 2021 - What’s Upcoming? page @ Planet Ruby.
Updates welcome. See the open data conferences2021.yml datafile. Happy new year! Prosit 2021!
How to use Ruby Case Statements with === / Higher Order Lambdas / Pattern Matching
In this blog post, I will go over how to use the Ruby case statement with Class implicit is_a? comparisons via === , higher order lambdas, and the new Ruby 3 pattern matching. I just had to refactor some code in my new project YASL (Yet Another Serialization Library), which was originally in this form… [more inside]
Ruby Cryptography - A collection of Ruby cryptography projects
Hello, hint: would love to see a write-up about any gem in the Ruby Crypto(graphy) collection. Join us in the new year in 2021 and claim a free day in the upcoming Ruby Blockchain Week 2021, January 3rd to January 9th - 7 Days of Ruby (Crypto) Gems. Why not highlight a blockchain / cryptos gem with your write-up in the ruby universe? Yes, you can! Cheers. Prost.
10 best Ruby on Rails Gems for Web Development
Ruby on Rails gems enables swift and rapid web app development. Here are the top 10 best Rubygems that simplify the process and lead to better web applications. [more inside]
Yet Another Serialization Library
Announcing YASL: Yet Another Serialization Library [more inside]
Making GitHub Pages Work With Jekyll 4+ and Any Theme and Plugin
If you use the github-pages gem, you’re limited to Jekyll 3.9.0 and a limited set of themes and plugins, but with GitHub Actions, you can use the latest and greatest, and any theme or plugin you want. This tutorial shows you how step by step. [more inside]
Ruby Blockchain Week 2021, January 3rd to 9th - 7 Days of Crypto Gems Upcoming
Hello, as a follow-up to the Ruby Advent Calendar - join us in the new year in 2021 and claim a free day in the upcoming Ruby Blockchain Week 2021, January 3rd to January 9th - 7 Days of Ruby (Crypto) Gems. Why not highlight a blockchain / cryptos gem with your write-up in the ruby universe? Yes, you can! All welcome from no coiners to bitcon austrian school of economics “I HODL! You HODL! We HODL! Number Go UP!” maximalists to universum is the new ethereum world computer blockchainers. Cheers. Prost.
Russian Doll Caching - Building the HOTWire HNPWA #4
What if we can increase page load the speed by not duplicating work in the server rendering process? Russian Doll Caching describes layers of caching. Start from the smallest element, and then wrap it in bigger and bigger layers of caching, punching through to invalidate the cache with model updates. https://onrails.blog/2020/12/29/russian-doll-caching-building-hotwire-hnpwa-4/
Necromancer v0.7
The latest necromancer adds the ability to transform strings into hash of string, integer, float or boolean values. It also improves string into range conversion to work with decimals and spaces. Enjoy!
Speed up bundle installs
Here is a quick tip that might speed up your bundle installs. By using bundle config set jobs $(nproc) you can tell bundler to use all of your processors when installing gems in parallel. This should be the default behaviour according to my reading of the source code, but it isn’t. [more inside]
txtar gem - a Ruby implementation of txtar Go package
I found txtar package while working on my Go projects and liked the idea. Txtar archives helped me to package test fixtures in a clean and a human-friendly way. [more inside]
All Ruby Books is Back! New Home @ Planet Ruby - Updates Welcome
Hello, The All Ruby Books page / collection was started by Florent Guilleux in 2016 - Thanks! Merci! - and is now back at its new home @ Planet Ruby. Updates welcome. Cheers. Prost.
Private Is For Humans
A friend told me about a job interview from years ago where he received feedback that he had used private incorrectly. Let’s look at why it’s not “incorrect” to place constants under private.
Rails: Following and Notifications
A month or so ago we released following and email notifications for Speaker Deck. I thought I’d share how we whipped this together and why we did it the way we did. The end result is a stable notification system that gets the job done and will be easy to grow as Speaker Deck continues to grow. [more inside]
Union Types and Sorbet
This post explains what union types are and how they can be useful when using Ruby with Sorbet. [more inside]
Benchmarking Ruby 2.4 to 3.0
Benchmarking three real-world application/libraries on different Rubies - https://gettalong.org/blog/2020/benchmarking-rubies.html
How to Build a Twitter Clone with Rails and Hotwire
A follow up on a previous article where Rails, React and ActionCable were used to build a Twitter clone with the new Hotwire library: [more inside]