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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Container-based Rails development environments have never sparked joy for me, and I’d like to change that. I’ve started a series of experiments with Docker-based Rails development environments, to deepen my understanding and hopefully make a more pleasant developer experience. So far, I’ve shared my rationale and methodology and initial setup experience on Everyday Rails.
Glimmer DSL for SWT just had a relatively major release in version 18.104.22.168 adding a new long-awaited Hello, Tree! sample as well as Canvas Shape DSL parameter data-binding. [more inside]
We saved around 4-5 minutes of build time and 30% of docker image size while reworking our CI workflow and Docker image. Here is a wrap up of the tricks we used. https://medium.com/@apneadiving/rails-ci-docker-aa36399a4ebb
This is the fourth part of the series where we create a service to interact with MySQL server in rails using mysql2 gem. Link: https://thedevpost.com/blog/mysql2-gem-perform-transactions/
Let’s say your majestic monolith is looking for more interactivity, and you’ve picked up Turbo. What aspects of a Rails app change that may cause some headaches? Add Turbo, and then follow along! https://onrails.blog/2021/02/18/hotwiring-an-existing-rails-monolith-forms/
This article takes a deep dive into Webpacker and offers a detailed explanation that will enable you to understand how this tool works under the hood. [more inside]
Hello, I have updated the kittyverse gem that now includes all the lastest fancy cats (normal, exclusive, special editions), purrstige cattribute (with trait recipes) and more for CryptoKitties and Copycats - on or off chain. Did you know? The kittyverse gets used to auto-generate up-to-date pages for the Kittypedia - The Free CryptoKitties Encyclopedia. Cheers. Prost. Happy data wrangling with ruby. The future is meow.
Glimmer DSL for SWT v22.214.171.124 is out! During college, I remember spending very long and tiring nights at the computer lab to implement an Assembly language renderer of the Mandelbrot Fractal. Much has changed since then. We have multi-core processors today, let alone the wonderful Ruby programming language, so I wrote this with Glimmer DSL for SWT by taking advantage of the multi-threaded JRuby and saturating all CPU cores. [more inside]
Hello, I added some new dodge (Ð) examples on how-to use the crypto-lite gem. New examples include: Derive the (elliptic curve) public key from the private key, Generate the Dodge Address from the (Elliptic Curve) Public Key, and so on. Happy secure programming with ruby. Cheers. Prosit.
Hello, a reminder: Ruby Open Data Week 2021, March 6th to March 12th - 7 Days of Ruby (Open Data) Gems is upcoming. Have your say! Claim a free day! Yes, you can. Help by highlighting open data gems in the ruby universe with your write-up. Cheers. Prost.
We don’t get to choose our families. Some of us don’t even get to choose our databases. What do you do if you have the bad luck to inherit a database with non-unique ids? In this case study, Regan Ryan shows us how his team faced the challenge. https://www.honeybadger.io/blog/activerecord-without-unique-id/
A deep dive into a favourite background-processing system for Ruby on Rails. Updated February 2021 for Ruby on Rails 6.1 and Sidekiq 6.1.3 while also adding a step-by-step guide for deploying to Heroku. https://medium.com/better-programming/how-to-use-sidekiq-in-rails-6-f3b76678362d
Hello, I have written a little article on how to calculate rarity & popularity by type, by accessories, & more for the 10 000 crypto punks population. What hair-style is hot? What’s the latest trend in beards? Goat? Handlebars? Or Mustache? Is Green the new Blue for Clown Eye Shadows? Find the answers and more. Happy data crunching with ruby. Cheers. Prost
Announcing Connector! A minimalist open-source web browser built in Ruby with Glimmer DSL for SWT. https://github.com/AndyObtiva/connector Thanks to Ruby and Glimmer, I can now build my own web browser in less than an hour. Could this be the new frontier in web privacy? Don’t like common browser privacy? Just roll your own browser in less than a day! https://github.com/AndyObtiva/glimmer-dsl-swt
Hello, I have put together the cryptopunks gem v1.0 that incl. a command line tool that lets you mint your own 24×24 pixel punk images off chain from the True Official Genuine CryptoPunks™ sha256-verified original 10 000 unique character collection; incl. 2x/4x/8x zoom for bigger sizes. Yes, you can use cryptopunks in your own scripts too. Happy minting. Cheers. Prost.