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.
New release of activerecord-analyze gem
The new release of https://github.com/pawurb/activerecord-analyze gem supports custom plan output formats and all the other PostgreSQL EXPLAIN ANALYZE options.
access logs and execute shell commands on the staging server
https://github.com/igorkasyanchuk/sweet_staging who needs a solution to “tail” staging.log on the server? Or execute a code in the rails console. Or check if the process is running in the OS? [more inside]
Gladiator (Glimmer Editor) v0.7.0
Gladiator (Glimmer Editor) v0.7.0 (code text editor built in Ruby via Glimmer DSL for SWT) has been released! https://andymaleh.blogspot.com/2021/01/gladiator-glimmer-editor-v070.html
Interact with Mysql Server using mysql2 gem [Part 1] – Select operations
This tutorial shows how to perform basic select queries to interact with MySQL Server using mysql2 gem. Link: https://thedevpost.com/blog/mysql-server-mysql2-gem-select-operations/
Awesome Ruby blogs
Hello! 👋 I updated awesome-ruby-blogs (fixed redirects and broken links, added a lot new interesting blogs). If I missed something, please, send me pull request! Thanks and have a nice day! 💎
Day 7 - centralbank @ Ruby Blockchain Week 2021 - 7 Days of Ruby (Crypto) Gems
Hello, let’s welcome the seventh write-up in the Ruby Blockchain Week 2021: Day 7 - centralbank Gem - Print Your Own Money / Cryptocurrency - Run Your Own Federated Central Bank Nodes on the Blockchain Peer-to-Peer over HTTP. Cheers. Prost PS: Bonus! - Day 7 - merkletree Gem - Build Your Own Crypto Hash Trees - Grow Your Own Money on Trees. That’s the end of the blockchain series 2021. See you next year. Have fun staying poor.
Day 6 - kittyverse @ Ruby Blockchain Week 2021 - 7 Days of Ruby (Crypto) Gems
Hello, let’s welcome the sixth write-up in the Ruby Blockchain Week 2021: Day 6 - kittyverse Gem - Inside the CryptoKitties 256-Bit Genome - Slice ‘n’ Dice Unique Bits ‘n’ Bytes - 48 Genes (12 Traits x 4 P, H1, H2, H3) - Build Your Own CryptoKitties Gene Reader - The Future is Meow. Cheers. Prost
Lazy Loading Lots of Comments HOTWire Tutorial #5
As we continue in building out the HOTWire Hacker News Progressive Web App, it’s time to look at loading the comments. Using Turbo’s lazy loading, we can load in the comments as they’re pulled from the Hacker News API. [more inside]
What So Unique About Ruby and Rails?
Some people are just amazed why so many programmers love Ruby and Rails . Many programmers really do because it is suitable for both state-of-the-art public websites and core system applications. Ruby is the simplest programming language easy to master. Before we turn to some unique functions of Ruby and Rails, let’s see what’s Ruby and what’s Ruby on Rails and how they are interconnected.
Day 5 - ecdsa @ Ruby Blockchain Week 2021 - 7 Days of Ruby (Crypto) Gems
Hello, let’s welcome the fifth write-up in the Ruby Blockchain Week 2021: Day 5 - ecdsa Gem - Open Up 10,000,000,000 Accounts - Bank the Unbanked Using Elliptic Curve (EC) Cryptography and the Digital Signature Algorithm (DSA) - Be Your Own Bank. Cheers. Prost
Everything You Need to Know About Destructuring in Ruby 3
Today we’re going to look how improved pattern matching and rightward assignment make it possible to “destructure” hashes and arrays in Ruby 3—much like how you’d accomplish it in, say, JavaScript—and some of the ways it goes far beyond even what you might expect.
Hello, Hotwired and Turbo
A short getting started guide for the Hotwire and Turbo libraries https://noelrap.substack.com/p/a-brief-hello-to-hotwire-and-turbo, followed by a more general why I like Hotwire essay at https://noelrap.substack.com/p/what-i-like-about-hotwire.
The future of Traveling Ruby
Traveling Ruby hasn’t seen updates for quite a while now. Recently I tried making a new bugfix release, but I found it to be more challenging than I had hoped. In this article I reflect on those challenges, as well as on the future of Traveling Ruby.
Chaskiq: Full featured open source platform for live chat for support, marketing and
Hello everyone, after 1 year of hard work since the launch of our OSS. let me introduce you one of the most complete open source alternatives for conversational platforms like Intercom, Drift and others. This may sound pretentious, but let’s see what are the Chaskiq’s features, you can judge later. [more inside]
Day 4 - cryptoquotes @ Ruby Blockchain Week 2021 - 7 Days of Ruby (Crypto) Gems
Hello, let’s welcome the fourth write-up in the Ruby Blockchain Week 2021: Day 4 - cryptoquotes Gem - I HODL, You HODL, We HODL! - BREAKING: BITCON JUST BROKE $22 000! - Get Free Oracle Sayings About the New New ‘In Math We Trust’ Ponzi Economics. Cheers. Prost
Upgrade from Turbolinks to Hotwire & Turbo
Since Turbo handles form submissions and links, there are a couple extra steps required to upgrade a Turbolinks application to Hotwire. I made a screencast covering what you need to do to upgrade. Watch How to Upgrade from Turbolinks to Hotwire & Turbo
How to use Devise with Hotwire & Turbo.js
Now that Turbo handles form submissions in Hotwire, we need to make some tweaks to our applications to make them work. Devise is one of those libraries. See How to use Devise with Hotwire & Turbo in Rails
Day 3 - universum @ Ruby Blockchain Week 2021 - 7 Days of Ruby (Crypto) Gems
Hello, let’s welcome the third write-up in the Ruby Blockchain Week 2021: Day 3 - universum Gem - Operate the Ponzi Governmental - Real World Case Study - Last Creditor (Before Collapse) Wins the Jackpot!. Cheers. Prost