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.
Tidy Code--How to Generate Unique Names With a Value Object
An exploration on refactoring a common pattern into a Value Object. https://delonnewman.name/articles/2023/11/16/tidy-code-unique-names/
Reviewing open source Ruby on Rails app
I started a series of review open source Ruby apps. I reviewed two so far Zammad and Chatwoot. [more inside]
Slides & Code for RubyConf 2023 Workshop "How To Build Desktop Applications in Ruby"
Thanks to everyone who attended my RubyConf 2023 2-Hour Workshop “How To Build Desktop Applications in Ruby”. For those who missed the event, I posted the presentation slides and code exercises (27 exercises) on GitHub. I also blogged about the new Color The Circles game app that was developed at the RubyConf 2023 Community Day Glimmer Desktop Hacking event. [more inside]
Open redirect vulnerabilities in Rails apps
I wrote a short piece about open redirect vulnerabilities in Rails apps: https://greg.molnar.io/blog/rails-tricks-issue-22/
Programming DeFi: Uniswap V2. Part 2 - Ruby / Rubysol Ed.
hello, another little update from the rubidity & rubysol universe. this might be the world’s 1st article on rubysol (contract) programming: Programming DeFi: Uniswap V2. Part 2 written by Ivan Kuznetsov - and edited and the code changed to ruby / rubysol by my humble self. enjoy. PS: for reference the UniswapPairV2 contract, part ii in ruby / rubysol. From the article: Today we’ll add the core functionality to our clone of Uniswap V2–swapping. Decentralized tokens exchanging is what Uniswap was created for, and today we’ll see how it’s done. We’re still working on the core pair contract…
Preventing bugs in Ruby: tools of the trade
An overview of tools I found useful for preventing bugs when shipping Ruby code: Preventing bugs in Ruby: tools of the trade
Business Class kit goes 1.2
The Rails SaaS kit focused on integrating Merchant of Record payment providers goes v1.2. Now with Tailwind and GoodJob integration.
Polling vs WebSockets vs Server Sent Events (SSE) | Rubber Duck Dev Show 108
In this episode, we discuss the benefits and disadvantages of polling, WebSockets and server sent events (SSE): https://www.rubberduckdevshow.com/episodes/108-polling-vs-websockets-vs-server-sent-events/
Gem Credentials Management with Gemstash
When your Ruby project grows, you may use enterprise gems or want to extract some business logic into private gems. How can we efficiently manage gem credentials across the team? [more inside]
Rails Generator Command Builder GUI
Hey! I’ve built https://railsg.xyz , a GUI command builder for Rails Generator commands. For an example, check out the Rails Generate Controller page.
Grokking instance_eval
I wrapped my head around instance_eval recently, so I wrote up a short article illustrating how it’s used in Rails’ route config. [more inside]
programming (decentralized finance) uniswap v2 - ruby / rubysol edition started
hello, another little update from the rubidity & rubysol universe. i started to rewrite the uniswap v2 contracts and tests in Ivan Kuznetsov’s definite (free) in-depth (let’s rebuild the contracts from scratch) articles on Uniswap from solidity into ruby / rubysol. see Programming (Decentralized Finance - DeFi) - Uniswap V2 Contracts - Ruby / Rubysol Edition for more. happy blockchaining with ruby / rubysol. PS: for part i - see UniswapV2Pair.rb an the tests in test_UniswapV2Pair.rb.
Analysing Rubygems download trends since 2013
In this article I tried to analyse Rubygems trends since 2013 and discovered a huge increase from 3B to 135B in total number of downloads between 2019 and 2023
[ANN] rodauth-oauth 1.4.0 released
rodauth-oauth 1.4.0 has been released. [more inside]
Integration Patterns for Distributed Architecture - Kafka at Smily
In the last blog post, we covered some fundamental concepts about Kafka. This time, let’s discuss how we use Kafka in Smily, how we got where we are now, what the decision drivers were, and how the overall architecture has evolved over time. [more inside]
Hanami v2.1.0.rc2
https://hanamirb.org/blog/2023/11/08/hanami-210rc2/ Some final fixes and polish, along with a preview of our guides.
It's Never Been Better Time to Be a Full-Stack Developer
I write about how great Ruby On Rails is for a full-stack (solo) developer like myself. In particular with the advent of Hotwire, it’s never been a better time to be a full-stack developer - https://popruby.com/blogs/articles/its-never-been-better-time-to-be-a-full-stack-developer