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.
Rails, Docker, and developer happiness?
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 Hello, Tree! and Hello, Canvas! Drag'n'Move
Glimmer DSL for SWT just had a relatively major release in version 4.18.5.0 adding a new long-awaited Hello, Tree! sample as well as Canvas Shape DSL parameter data-binding. [more inside]
StatusCode: Our Weekly Programming Newsletter
You’re not just a Rubyist, you’re a software developer, right? :-) Check out StatusCode Weekly, our language and architecture agnostic newsletter that covers the biggest news across the entire software development world.
Rails + Docker + Continuous Integration
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
Interact with Mysql Server using mysql2 gem [Part 4] – Perform Transactions
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/
HOTWiring an existing Rails Monolith: Forms!
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/
Using Webpacker in Your Ruby on Rails Application — a Deep Dive
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]
Is Ruby on Rails dead in 2021?
https://blog.railwaymen.org/is-ruby-on-rails-dead
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: https://github.com/automaticmode/active_workflow [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. https://www.honeybadger.io/blog/activerecord-without-unique-id/
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. https://medium.com/better-programming/how-to-use-sidekiq-in-rails-6-f3b76678362d
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
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.