Matheus Richard

@matheusrich
40 Followers
63 Following
63 Posts

🇧🇷 Senior developer @ thoughtbot.

📝 Blogging @ https://tbot.io/blog/matheus

💎 Organizer of http://rubydf.com

TIL about the name_of_person gem. Pretty cool!

https://github.com/basecamp/name_of_person

GitHub - basecamp/name_of_person: Presenting names of people in full, familiar, abbreviated, and initialized forms (but without titulation etc)

Presenting names of people in full, familiar, abbreviated, and initialized forms (but without titulation etc) - basecamp/name_of_person

GitHub

If you're building a PWA with Rails don't forget to ensure that you're rendering valid JSON on routes like /manifest.json.

I've added a test for that:

accent-color is so easy and useful. CSS gets better everyday!
The Ruby dev iceberg

There has been a push towards fixtures for a while, but this global shared state is hurting me. It's hard to know which records are available for any given test, or if I should just modify a particular record for the current test. You change one thing, it breaks a test elsewhere.

How are y'all managing that? It seems messy.

I'm used to `[]` and even `-@` being methods, but I expected `!` to be a language concept.

Even if you override it, `unless` won't use it (so `unless` doesn't desugar to `if + !`).

class BasicObject - Documentation for Ruby 3.4

class BasicObject: BasicObject+ is the parent class of all classes in Ruby. class Foo; end Foo.

TIL `!` is a method in Ruby:

```
true.! # => false
```

You can even override it

```
class A
def !@ = true
end

!A.new # => true
```

Although I can't think where that would be useful.

Wrote a blog post on noodling around with syntax for access control modifiers in my hobby scripting language: https://journal.stuffwithstuff.com/2025/05/26/access-control-syntax/
Access Control Syntax – journal.stuffwithstuff.com

🚀 Just released a new version of https://github.com/MatheusRich/end_of_life

Changes:
- Archived repos are skipped by default.
- The results are also sorted by most recently updated (likely the ones you care most).
- Requires Ruby >= 3.2

GitHub - MatheusRich/end_of_life: Lists repositories using end-of-life Ruby versions

Lists repositories using end-of-life Ruby versions - MatheusRich/end_of_life

GitHub