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 allows permitting numeric params
Rails 7 eliminates the issue of permitting nested hash. Now required attributes can be permitted by calling the permit method directly on the parent hash. [more inside]
Hanami v2.0.0.alpha7
Concrete slice classes, consistent action and view class structures. https://hanamirb.org/blog/2022/03/08/announcing-hanami-200alpha7/
Inline documentation - The secret habit of successful devs | Hanami Mastery #17
Everyone would love to have a secret power. A skill that makes you a hero. There is no one such skill, but in this episode, I’ll talk about inline documentation - a great skill that can make you a better developer. [more inside]
Rubber Duck Dev Show Episode 32 | Reviewing the OWASP Top 5
Hear two rubyists discuss the top 5 web application security risks from OWASP: https://www.rubberduckdevshow.com/episodes/32-reviewing-owasp-top-5/
Rails 7 Hotwire : a tutorial
Hotwire is the new functionality of Rails that gained momentum lastly. This tutorial is a practical introduction to each feature. [more inside]
[Screencast] Remote Development
Having a fast and expensive computer to do daily development is a luxury. Sometimes, we may be in a position where we are just getting started with programming and the budget is very small. In this episode we look at a very moderately priced Chromebook and explore how we can make it into a viable development machine. https://www.driftingruby.com/episodes/remote-development
How to Introduce Testing in Teams and Companies
Testing is a fundamental part of a quality-driven culture, a prerequisite for avoiding the two biggest risks for a company developing products: the risk of doing the wrong thing, and the risk of doing it too late. [more inside]
Being a backend developer
I wrote a small post about how I feel being a backend developer. Bit off topic but posting it here because I am a RubyOnRails developer. [more inside]
[book] I Love Ruby updated
Updated Structs & OpenStruct, added sections Rubocop and running Ruby in Jupyter in my book I Love Ruby. Get it here. https://cliz.in/ilr
A Wordle decoder that guesses your guesses.
It’s all in Ruby and it’s open source https://github.com/mattruzicka/wordle_decoder
Building a restricted slug validator
Here’s how to build a custom slug paths validator.
Glimmer Klondike Solitaire 1.1.0
For those who like the Klondike Solitaire card game (aka Patience), Glimmer Klondike Solitaire 1.1.0 has been released with a couple of fixes. [more inside]
CodeTips#1: Exploring Hashes in Ruby
In this article we will be exploring 3 (+ one bonus) methods to retrieve values from hashes in Ruby and a few of it’s uses. [more inside]
How to rename a Rails app
Here are the instructions to rename an existing Rails app. Nothing really risky, it should be a set-and-forget thing. [more inside]
Glimmer DSL for SWT Video Tutorial 5 - Hello, File Dialog!
The Glimmer DSL for SWT (JRuby Desktop Development GUI Framework) Video Tutorial 5 is out! It walks software engineers through Hello, File Dialog! [more inside]
Rails 7 application inside Docker on macOS: Part two - database and Mutagen
How to create Rails 7 app with all dependencies hidden inside a Docker container link