RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Video: Integrate ChatGPT with Rails 7: Step-by-Step Tutorial

I provide a comprehensive guide to building a Ruby on Rails frontend that interfaces with OpenAI’s ChatGPT. Covering user management, conversation creation, and the ability to continue conversations at any time, this tutorial is tailored for both new and experienced developers eager to embrace the power of AI-driven communication. Watch the video here:

Instructions are very useful. Let me ask, if Client <—-request/response—–…

Maquina, the engine for Rails

Building apps over time, I found some work that needs to be done on every application: Authentication, Authorization, Mailers, etc. I started extracting this standard functionality into a Rails engine a few years ago. Later, tailwindscss, hotwire, stimulus, and phlex entered the picture, so I started the engine again with reusable UI patterns that take advantage of these tools. This is how Maquina was born.

Rubidity - A Ruby Dialect for Dumb (Blockchain) Contracts

Hello, some years ago I published a red paper to introduce sruby - Small, Smart, Secure, Safe, Solid & Sound (S6) Ruby to the world with a runtime (and gem) called universum. Now fast-forward and middlemarch (a.k.a. Tom Lehman) introduced dumb contracts on ethscriptions with the production code written in a dialect of Ruby called “Rubidity”. Q: Why do you choose ruby for dump contracts? A: Because you can create a mini-language that’s very similar to Solidity and will be easier for Solidity devs to use. Hear. Hear. Update I started a rubidity sandbox to experiment and study and learn together. join us.

ordinals gem v1.3 update - now incl. doginal shibescription api. much wow

is it doginal summer? i’ve updated the ordinals gem - a light-weight (free, no api key required) ordinal api wrapper / client for inscriptions (letting you fetch metadata and content) and bonus the new version 1.3 now includes support for doginal shibescriptions (via wonky-ord.dogeord.io). much wow! very happy data analytics and pixel pushing with ruby.

How to use React with Stimulus

If you’re using Hotwire in your Rails project (Turbo, Stimulus etc), it is reasonable to wonder if it’s possible to use a SPA framework like React or Vue in the same project, especially if you were building something with a high degree of interactivity. I wrote this article to explore how you might approach this problem if you wanted to take advantage of a framework like React, just on one page (or a few) in your app. [more inside]

Ruby Step-By-Step Guide - Inside Sub1k - The First Thousand Ordinal Inscriptions

is it ordinal summer? i’ve updated the free (online) programming ordinals (in ruby) step-by-step guide / booklet. the new bonus chapter titled Sub 1k - Inside The First Thousand Ordinal Inscriptions - Litecoin Edition shows you how to build a (local) sub1k sqlite database (from scratch / zero) with all metadata and content blobs (using the ordinalslite.com api) - it’s about 160 MB - and than query for analytics / statistics via sql (using activerecord and ordlite). happy programming (and data analytics) with ruby.

Ruby on Rails and the Power of MVC Architecture: A Comprehensive Guide

In the landscape of modern web development, few frameworks have had as profound an impact as Ruby on Rails (RoR). Powered by the elegance of Ruby and the efficiency of the Model-View-Controller (MVC) design pattern, Rails provides developers with tools to craft scalable and maintainable applications. Read at:

ordserve gem - Ordinal Inscription Sandbox (Testing) Server / Service

is it ordinal summer? for easy testing of recursive inscriptions (in .SVG or .HTML) i have put together a new ordserve command-line tool and gem that starts up a (loopback) webserver and “automagically” downloads all recursions (referenced via /content/:id) the first-time only to save / cache locally. the index page has built-in (recursive) samples to get your started. happy recursing in ruby.

Loading older posts