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.
RVM-TUI 0.0.6
Given how practical and popular RVM (Ruby enVironment Manager) is, a while ago, I created a text-based user interface for it… [more inside]
Authorization with JWT in ANY Ruby application
Authorizating your API applications can be trivial, if you have proper tolls to do it! Here I showcase how authorization with JWT can be done effortless in any ruby application by using Hanami 2.0 as an example and the jay_doubleu_tee gem. [more inside]
Deploying Static Sites
Github Pages and Gitlab Pages are both great places to quickly and easily push up static sites directly from your code repository. https://www.driftingruby.com/episodes/deploying-static-sites
How to create a bunch of Rails apps
Beginner-friendly, short, but hopefully useful tutorial. We use this small script every day, each time we want to try a new gem or isolate a bug. [more inside]
Rubysmith 1.0.0 - A command line tool for building Ruby projects
Happy to announce the release of Rubysmith 1.0.0 which provides a command line tool for building new Ruby projects quickly. Even better, it’s built on Ruby 3.1.0 and you get a ton of tooling often needed when crafting professional Ruby projects beyond the basic hobby setup. Everything is fully customizable with support for local or global settings too. You only need to type gem install rubysmith && rubysmith --build my_new_project to get started. 🎉
Las Dos Fridas (Anno 2022) And More - New Pop Art Image Helpers
Hello, In the ongoing pixel art programming series - yes, in ruby - I have put together some pop art image helpers inspired by Andy Warhol classics such as Double Elvis (Anno 1963), Thirty Is Better Than One (Anno 1963), Two Hundred Is Better Than One (Anno 1963) and some more. Yes, you can - turn your pixel art into modern pop art classics / originals. See the Double Frida (Anno 2022), Triple Frida (Anno 2022), Forty-Two Fridas Is Better Than One (Anno 2022) and some more samples to get your started. Happy New Year 2022! Happy Pixel Programming with Ruby.
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]