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.
ruby-install 0.8.3 has been released. This version explicitly pins the homebrew
openssl dependency to
email@example.com. OpenSSL 3.0 was released this month and is now available in homebrew. Unfortunately, ruby’s openssl bindings are still working on OpenSSL 3.0 support, so attempting to compile any current ruby version against OpenSSL 3.0 from homebrew will result in a compilation error. Until all actively supported versions of Ruby support OpenSSL 3.0, ruby-install will continue to compile against
firstname.lastname@example.org on macOS with homebrew.
New release of Rhodes cross-platform solution. New version 7.4 support latest iOS, Android versions and also Sailfish, Linux, Windows, Mac OS etc(supported mobile and desktop OS). Rhodes fully open source with MIT Licence. GitHub: https://github.com/rhomobile/rhodes Rhodes solution similar to Electron.js but based on RoR-like local server instead of Node.js local server - UI the same based on WebView. Brief introduce into Rhodes: “Introducing into Rhomobile solution for developers”
Hear two rubyists discuss improvements coming to front-end web application development: https://www.rubberduckdevshow.com/episodes/11-modern-web-application-front-ends/
Hello, Anyone remember the Plany Ruby Quiz - a fortnightly programming challenge? Yes, we are back with an artistic twist. Let’s start / try a new fortnightly pixel art / punk art programming challenge. Yes, in ruby. How does it work? Let’s pick a theme and then it’s up to you - yes, you can - to put together a new punk collection with your own artistic interpretation / generation script. Yes, in ruby. Let’s kick off with a theme inspired by Damien Hirst’s “The Currency” token art parody or is that cash grab with a paper with a bunch of random circles starting at $2000 a piece? Let’s generate 10 000 free dotty spotty punks. For example - turn every colored pixel in the 24x24 bitmap into a circle and maybe use different-sized variants of circles and maybe use a random offset “distortion” for the circle placement and so on. Yes, you can. Learn more and join us. Happy pixel pushing with ruby. ++ Update To get you started I put together a spots script that generates more than a dozen spotty dotty “currency” punk variants incl. a 2x version with quadruple pixels all turned into random ~circles~ spots.
ffi-libc 0.1.1 has been released. This release fixes a major bug, where ffi-libc was still binding the libc global variables
sys_nerr, which glibc had deprecated and then removed, causing ffi-libc to not load. These variables are still available on BSD libc implementations. If the variables are not available, ffi-libc will ignore the FFI error and continue loading the rest of ffi-libc. [more inside]
Rails 7 adds
weekday_options_for_select [more inside]
Improved on schema2type with associations and enums. Delivered as a simple Gist script to run in your app and built upon the enhance your Typescript developer experience. [more inside]
How do you add features to a codebase that is massive, scary, and completely new to you? The first day at a job is like the first day at a new school: you feel awkward, lost, and confused. But what if you could feel confident collaborating with your new team? What if you knew how to navigate any codebase? This post will help you get started at your new developer job. [more inside]
Join a live programming session with Aaron Patterson (tenderlove) about TenderJIT: A Pure Ruby Just-In-Time (JIT) Compiler. We’re going to start building a JIT for Ruby from the ground up. Learn how Ruby’s virtual machine works and more about the CPU itself, and how to build a just-in-time compiler using Pure Ruby. https://www.hexdevs.com/open-source-thursdays/expert-sessions-with-aaron-patterson-sep-30th/
Hear two rubyists discuss how to optimize the performance of your application’s infrastructure: https://www.rubberduckdevshow.com/episodes/10-application-infrastructure-performance/
Hello, I have put together a new quick starter template, that is, /punks.whitelabel. Let’s welcome the Free White Label Punk Quick Starter Edition that let’s you (re)create from zero / scratch a pixel-perfect copy of the 10 000 CryptoPunks collection (Anno 2017). Yes, in ruby. Happy pixel pushing.
With the addition of
audio metadata to video blobs, it will now be possible to check the presence of an audio channel in a video file.
Read more –> https://blog.saeloun.com/2021/09/21/rails-7-adds-metadata-value-to-check-audio-presence-in-video-blobs
Turbo and ActionCable make it a snap to create Rails applications that respond to user behavior in real-time. In this article, Abiodun shows us how to use them together to create a full-featured chat application in Rails. https://www.honeybadger.io/blog/chat-app-rails-actioncable-turbo/
You’re about to upgrade your application to the newest version of Ruby on Rails. And you’ve never done it before? Fear not! Here’s my beginner’s guide to upgrading your app to a newer version of Ruby on Rails.
Hello, I added a new sample collection to /punks.starter - the free pixel art collection quick starter package that lets you generate algorithmically your own curated (or randomized) collections. Yes, in ruby. Let’s welcome Collection №4 - 111 Cool Blue Aliens (Incl. Females & Super-Rare Apes). Let’s generate a pixel-perfect copy of all nine super-rare cool blue humanoid aliens in the original Larva Labs series in the classic 24×24 format and for fun let’s add a hundred more super-rare never-before-seen aliens incl. females and apes. Happy pixel pushing and minting with ruby.
If you’ve ever designed an API endpoint, I have a question for you! https://hanamimastery.com/articles/why-all-apis-are-inconsistent [more inside]
Hear two rubyists discuss how to write performant code to boost your application’s performance: https://www.rubberduckdevshow.com/episodes/9-writing-performant-code/
A new rails tutorial - How to use active storage in Rails 6.2. Covered everything about Active Storage - from definition to installation to functionalities to major updates in recent releases. Check it out https://blog.engineyard.com/tutorial-active-storage-on-rails-6.2?utm_source=RubyFlow&utm_id=QiWorks.in