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 7 introduces ActiveModel::API
https://blog.saeloun.com/2021/10/13/rails-7-introduces-activemodel-api
Just Enough Hotwire for Rails Developers with Chris Oliver (Oct 14th @ 2 PM PST)
Want to add a touch of JavaScript sprinkles to make the Frontend of a Ruby on Rails app shine? Learn Just Enough Hotwire with Chris Oliver (GoRails): [more inside]
Organizing business logic in Rails with contexts
Rails models can get messy without a lot of discipline… [more inside]
Code Concurrency and Two Easy Fixes
Not sure how to manage code concurrency in your rails code? We help you manage code concurrency through two easy fixes using Executors and Reloaders. https://blog.engineyard.com/code-concurrency-and-fixes?utm_source=RubyFlow&utm_id=QiWorks.in
Using DynamoDB in Your Rails App
DynamoDB is a NoSQL database offered by AWS. It can be a great way to avoid adding load to your primary database when you need tens of thousands of reads/writes per second. In this article, Julie Kent walks us through the basics of using DynamoDB with Rails. https://www.honeybadger.io/blog/aws-dynamo-db-rails/
Install Bootstrap with CSS Bundling
CSSbundling-rails is a new gem for bundling CSS by directly using Node modules. It will even include the Javascript automatically if it can. Learn How to install Bootstrap with CSS Bundling Rails.
Minehunter - terminal puzzle game
Minehunter is a terminal puzzle game inspired by the classic “Minesweeper”. It comes preconfigured with three levels: easy, medium and hard. But, you can also create a custom grid with an arbitrary number of mines. Enjoy!
The Story of a Critical Issue With Kafka
Recently, I’ve had an unfortunate opportunity to deal with a very unexpected issue with Kafka that had quite terrible consequences. The exact origin of the issue is yet to be discovered; nevertheless, the process leading to the final solution to the problem and the fix itself were interesting enough that I decided to write a quick blog post about it as it might be potentially valuable to someone who also encounters a similar problem. [more inside]
Glimmer DSL for LibUI Beta Release
Glimmer DSL for LibUI (Prerequisite-Free CRuby Desktop Development GUI Library) has been a passion project for the last 3 weeks that ended today with Glimmer DSL for LibUI becoming feature-complete and moving from Alpha to Beta. What is LibUI? LibUI is a thin Ruby wrapper around libui, a relatively new C GUI library that renders native controls on every platform (similar to SWT, but without the heavy weight of the Java Virtual Machine). [more inside]
The Making of Adam (24x24 Pixel Punk) from Zero Using Pixel Art Designs in ASCII Text
Hello, I’ve put together a new pixel art how-to (step-by-step guide) titled The Making of Adam (24x24 Pixel Punk) from Scratch / Zero Using Pixel Art Designs in the ASCII Text Format. Yes, in ruby. Now create (or design) your own free Adam (or Eve) pixel punks. Yes, you can.
The second oldest Rails podcast?
The Ruby on Rails podcast is the oldest one out there, from 2005 (to now!). But I think I found the second oldest one https://pastrubies.live/past_rubies/20
The redo Keyword in Ruby
In this post, we’re going to explore redo for loops, blocks & enumerations.. The redo keyword
A Compositional Approach to Optimizing the Performance of Ruby Apps
Ruby makes developers happy, but at times I wish it was faster. In a new article I explore a novel approach to improving the performance of Ruby apps.
Fun with Rails Enums and PORO
I really like enums. They can be really powerful if they are used wisely. Let’s see what we can do with them in a multilingual Rails app with a little help from PORO (Plain Old Ruby Object). https://petr.codes/blog/rails/fun-with-enums-and-poro/
Rubber Duck Dev Show Episode 14 | Background Job Processing
Hear two rubyists discuss how to handle background job processing: https://www.rubberduckdevshow.com/episodes/14-background-job-processing/
Migrating Selenium system tests to Cuprite
The Cuprite driver is a very nice replacement for Selenium in your system tests. It speeds up the suite considerably and its API is clean and versatile. The article shows some numbers and a few issues that we hit during the migration as well as their possible fixes. [more inside]