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.
Yesterday
Glimmer DSL for SWT Video Tutorial 29 - Hello, Custom Shell!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]
React vs. Rails Components
I’ve heard a lot about this library called ViewComponent from Github, and I wanted to see what the excitement is all about. So after spending a few days playing with the library, I was surprised by what I found. [more inside]
Why Use MongoDB with Ruby
A quick introduction of how I came to using MongoDB with Ruby and how this may be a viable combination for your next project. Check out the blog post for more info.
[ANN] pixelart v1.3.6 released - yes, you can! generate your own fine art originals
Hello, pixelart version 1.3.6 has been released! Yes, you can! generate your own million dollar fine art originals (in 24×24px or up) using any design (in ascii text) in any colors; incl. 2x/4x/8x zoom for bigger sizes and much more. Changes / What’s News? - new Image.blob / Image.from_blob & Image#to_blob / Image#blob helpers
An introduction to software quality and maintainable code
In this article, we talked about what software quality means, particularly when it comes to maintainable software. We learned what code coverage and code quality mean, and the difference between churn and complexity. Finally, we put together all our definitions and took a look at the file churn vs. complexity graph with a better understanding. [more inside]
Rubio-Radio Bookmarking & Async Gradual Fetching
Recently, I blogged about how I contributed Pagination/Filtering support to Rubio-Radio, an Internet radio application built with Ruby and Glimmer DSL for LibUI. Again, a Rubio-Radio GitHub Pull Request that I submitted for Bookmarking & Async Gradual Fetching features has been accepted and merged into the project by its owner. [more inside]
Thinking in Hotwire: Progressive Enhancement
There are many tutorials about how to get started with Hotwire and how to use the individual pieces. But one thing that took me a while to grasp was how to “think in Hotwire”. [more inside]
Rubber Duck Dev Show Episode 54 | Open Source Experiences & Pay Gem w/ Chris Oliver
Hear three rubyists discuss Chris Oliver’s experience with open source and his more recent project the pay gem. Pay is a ruby library for abstracting communication with multiple payment providers: https://www.rubberduckdevshow.com/episodes/54-open-source-experiences-pay-gem-with-chris-oliver/
[ANN] httpx 0.21.0: circuit breaker and webdav plugins, more timeouts, xml support
httpx 0.21.0 has been released. [more inside]
Glimmer DSL for SWT Video Tutorial 28 - Hello, Custom Widget!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]
Secure sensitive data for Ruby on Rails applications
Secure your apps! Protect sensitive data! Easy to say, harder to find solid answers on all the bits and pieces you need to adjust to make sure that happens. That’s why we’ve put together this list of practical advice for securing your Ruby on Rails applications. [more inside]
Protect Ruby on Rails applications against DoS and bots
https://www.basesecrete.com/active_hashcash.html : Securing a web application is not trivial. Every feature and especially public exposed forms are potential security breaches. Any breach will eventually be exploited, even on small applications. For a long time, we have been looking for the best way to protect login and registration forms against brute force attacks and spam bots, often using a combination of techniques.
The Third Gosu Game Jam kicks off in just a few days on August 14th
Cast your votes to determine the theme and join the jam on itch.io
profilepic gem v0.1.4 - profile pic(ture) as a service library & command line tool
Hello, I updated the profilepic gem - the profile pic(ture) as a service library that includes more than fifteen image generators with built-in spritesheets, an “out-of-the-box” command line tool (& web service/server) and more. What’s new in v0.1.4? The latest profilepic version includes the world’s 1st historic free open-source public domain (no rights reserved) spritesheet-powered design your own Matt & John’s® Ye Olde’ Punk (Anno 2017) wizard and much more. PS: Have your say! Claim a free day! - Ruby Digital Identity & Metaverse Week 2022 Upcoming (SOON!), September 5th to September 11st - 7 Days of Ruby (Profile Picture & Avatar Character Generation) Gems. Yes, I am extending the deadline (again) for three weeks.
From byebug to ruby/debug
Switching to a new debugger and potentially changing your debugging process could be scary. So I hope this side-by-side comparison of byebug
and ruby/debug
can help you get familiar with ruby/debug
and also make the transition smoother. [more inside]
Adding timestamps to join tables
This quick tip shows how you can quickly add timestamps to your join tables (useful for auditing amongst other things) https://tosbourn.com/rails-migrations-add-timestamps-to-join-tables/
A Deep Dive into Memory Leaks in Ruby
In the second and final part of our series on memory leaks in Ruby, let’s dive a bit deeper into some tools you can use. https://blog.appsignal.com/2022/08/10/a-deep-dive-into-memory-leaks-in-ruby.html