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.
kittyverse Gem v1.0 - Incl. Cattributes, Traits, Genes & Genomes and More
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.
3 tips to tune your VCR in tests
In this post I describe 3 things that have grown my trust in VCR. These are: [more inside]
Glimmer DSL for SWT Mandelbrot Fractal and Hello, Cursor! Samples
Glimmer DSL for SWT v4.18.4.9 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]
ActiveWorkflow 0.9.14 release
in this release we bring you various improvements in the user interface, a more lightweight and focused core, and a new API feature that allows you to export your workflows. For more see: [more inside]
New Dodge (Ð) Examples Using the crypto-lite Gem - Priv/Pub Keys, Addr - Much Wow!
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.
Reminder: Ruby Open Data Week 2021, March 6th to 12th - 7 Days of Ruby Open Data Gems
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.
ActiveRecord For Databases Without Unique Ids
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.
The monotonic clock and why you should care about it
Recently contributing to the Hanami project with a monotonic clock issue, that actually aroused my attention to that feature I had never noticed or even cared about, I decided to contribute a bit more by creating a blog post with intentions of clarifying the problems we may have when using it or not. [more inside]
rails-pg-extras: "null_indexes" method added
New release of RailsPGExtras library introduces a “null_indexes” method. It allows you to track indexes that contain mostly NULL values and can probably be changed to partial index to improve insert performance and reduce disk usage [more inside]
Sidekiq in Rails 6
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.
Data Science w/ 10 000 CryptoPunks - Statistics - Calculate Rarity & Popularity
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
Connector - Minimalist Web Browser Built in Ruby
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
Chaskiq 0.7.0 released: GDPR consent, AnyCable and new VideoCall UI!
GDPR consent for new user conversations intents (Supports EU only or worldwide) [more inside]
cryptopunks gem v1.0 - mint your own 24×24 pixel punk images off chain
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.
Testing cursor-based pagination with Webmock
A story of discovering API pagination nuances, implementing client for such APIs and testing its interactions: [more inside]
Ruby on Rails View Patterns and Anti-patterns
Rails views are sometimes amazing and fast, and at other times, they can have all sorts of issues. If you want to increase confidence over how you handle your views, then this blog post is for you. [more inside]
Well-behaved Ruby Objects: Equality
A “well-behaved” object in Ruby needs to understand What makes two Ruby objects “equal”? Which version of “equal” (there are several in Ruby)? What makes an object usable as a Hash key? And is that the same thing that makes them Comparable?
Hotwire in Action 🚀
The main goal of this repository is to find a Website that used Hotwire in action, free open source Hotwire apps and learn + start contributing 🚀 [more inside]
3 ways to use Regexp capture groups with back-references
Taking advantage of capture groups to manipulate Strings in Ruby.. SEE MORE
20 Years of Wikipedia! The State-of-Wikipedia & Wikidata in the Ruby Universe?
Hello, let’s celebrate 20 Years of Wikipedia! Happy Birthday! The big question - What’s the State-of-Wikipedia & Wikidata in the Ruby Universe? Looking for Parser, API Clients, Template Functions, Apps, & more. Join the discussion. Any recommendations or tips & tricks more than welcome. Cheers. Prost.