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.
Glimmer DSL for LibUI Non-Native Custom Controls
One of Glimmer DSL for LibUI’s greatest assets is that it renders native GUIs on every platform. That said, there might be cases where there is a need for non-native GUI controls like needing to render very large GUI controls for people with vision disabilities and the elderly or needing to build applications with brand new visual concepts like traffic control management apps and diagramming tools. Thankfully, the majority of native GUI toolkits offer non-native control support too, and Glimmer DSL for LibUI is no exception! [more inside]
3 Reasons Ruby On Rails Is the Best Way to Start Learning Web Development In 2022
With so many new languages popping up everywhere, it’s hard to decide which one to pick up or if Ruby on Rails is still a good choice in 2022. [more inside]
Truemail 2.6.0 supports Ruby 3.1 🚀
Latest release brings support for new Ruby 3.1. So you can use this end to end email validation solution on Ruby 2.5.x - 3.1.x versions.
Ruby Next 0.14.0: Ruby 3.1 support and more
This release brings Ruby 3.1 features to everyone and also ships with a new (hopefully) feature from the future release: instance/class/global variables binding support in pattern matching. What is it? That brings back the right-hand assignment like this: [more inside]
Rails adds the 'authenticate_by' method when using 'has_secure_password'
Rails add the ‘authenticate_by’ method that helps mitigate timing-based enumeration attacks. [more inside]
The zero-configuration Dockerfile generator for Ruby
A ruby gem to detect your Gemfile and generate a production-ready Dockerfile for your Ruby/Rails project. https://github.com/elct9620/boxing
Rubber Duck Dev Show Episode 23 | When Should You Mock or Stub?
Hear two rubyists discuss when you should use mocks or stubs in your tests: https://www.rubberduckdevshow.com/episodes/23-when-should-you-mock-stub/
Super v0.19.0
Super is a modern, lightweight Rails admin framework. The headline features are batch actions, easier CSV exports, and a NPM package. https://zachahn.com/posts/1640659544
Range-based logs analyzer gem
range_logger is the logs analyzer gem which can help you to create the new log file containing logs for some period of time. [more inside]
Rails 7 brings Import Maps into the limelight blog by Nipun Paradkar
Rails 7 is bringing a paradigm shift to the JavaScript ecosystem. One of the reasons we love Rails is because the devs are not afraid to do big changes to challenge the status quo. Import Maps is not something new that Rails 7 came up with. But it’s something that needs a push to escape the mess, that is the current JavaScript ecosystem. We all want to write next-generation JavaScript. And doing so forces us to learn and use various build tools. Many browsers have already started supporting various new features of the ECMAScript Specification. ES Modules being one of them. Rails 7 brings Import Maps into the limelight, blog by Nipun Paradkar
I Love Ruby on Youtube
Hello All, Years ago, I wrote a book called I Love Ruby https://i-love-ruby.gitlab.io/, now I am putting Youtube tutorials under the same name here https://www.youtube.com/watch?v=z34jYvHK27o&list=PLe1T0uBrDrfNyJ8u6V_3fdwtFdSWPpU7M. I am planning to put one video tutorial every 3 days. Hope its useful to people starting out with Ruby. [more inside]
53 Best Ruby Gems We Use at RubyGarage
Here at RubyGarage we work closely with Ruby and Ruby on Rails technologies. We like Ruby for its resourcefulness and vibrant community, while Ruby on Rails is appreciated for its multiple ready-made solutions that allow for rapid software development. [more inside]
Benchmarking Ruby 2.5 to 3.1 and YJIT
I repeated my Ruby versions benchmarking from last year, now with Ruby 3.1.0 and YJIT available: https://gettalong.org/blog/2021/benchmarking-rubies.html
🎄 Opal 1.4: Ruby 3.1, performance, and bundle size 🚀
We are proud to announce an immediate availability of Opal 1.4! [more inside]
AnyCasts and AnyCable v1.2
I’m starting a new screencast series, AnyCasts, and the first episode is dedicated to Rails 7, Hotwire and AnyCable 1.2 (and 🎄🎅⛄️): [more inside]
Frame "Oil Painting" Pixel Punks (24x24px) by Leonardo da Vinci, ....
Hello, in the ongoing pixel art programming - yes, with ruby - series I put together a free golden pixel art frame (36x36px) that lets you frame - yes, with ruby - the frameless punks (24x24px) incl. “oil painting” punks by Leonardo da Vinci, Johannes Vermeer van Delft, Vincent van Gogh, Edvard Munch and others. See the cryptopunks/frame page and script for more. Happy pixel pushing with ruby.
Rails 7, Bootstrap 5 tutorial : fear and relief
Rails 7 is out, so it’s time for a tutorial, from zero to production. Essentially based on the new way to handle assets. We made it copy/paste, step by step, so that even beginners should understand what’s going on under the hood : https://www.bootrails.com/blog/rails-7-bootstrap-5-tutorial/