Toots for lucasm@ruby.social account

Written by Lucas M :ruby: on 2025-01-17 at 16:52

What is your go-to solution for serializing data in

[#]rails

when developing a REST API with a focus on performance optimization and modular design?

I've always liked JSON-API for its standardised approach, but I'm curious about more flexible solutions as well 🤔

=> More informations about this toot | View the thread

Written by Lucas M :ruby: on 2025-01-13 at 17:25

Glad to announce the first release of the https://github.com/ruby-hl7/ruby-hl7 gem in more than 2 years, and the first to which I contributed!🎉

We are still looking for contributors, so please reach out if you're interested in maintaining this standard serialisation gem for the Health industry's HL7 language

[#]rails #ruby

=> More informations about this toot | View the thread

Written by Lucas M :ruby: on 2024-12-10 at 17:43

I just wrote a follow-up to my previous post about Rails transactions and data integrity. This one focuses on Rails transactional callbacks and how to extend their use outside of models. Hope you enjoy it!

https://dev.to/lcsm0n/rails-transactional-callbacks-d0d

[#]ruby #rails

=> More informations about this toot | View the thread

Written by Lucas M :ruby: on 2024-12-02 at 16:03

Actively looking for contributors for a Ruby gem 👀

Ruby-HL7 is an extensive parser and serializer of HL7 messages (the standard format for health systems communications)

https://github.com/ruby-hl7/ruby-hl7

A straightforward first OSS project for curious devs interested in health tech

[#]ruby #rails #oss

=> More informations about this toot | View the thread

Written by Lucas M :ruby: on 2024-11-21 at 17:28

Here's a piece I wrote about transaction safety in Rails, featuring @palkan 's great Isolator gem which I discovered recently.

https://dev.to/lcsm0n/transaction-safety-in-rails-identifying-and-addressing-non-atomic-interactions-4kf8

[#]rails #ruby

=> More informations about this toot | View the thread

Written by Lucas M :ruby: on 2024-11-14 at 14:39

I just discovered https://firstrubyfriend.org/

A great initiative launched by @andycroll to give access to free mentorship from experienced developers (volunteers only) from the Ruby community. 🙏

[#]ruby #rails

=> More informations about this toot | View the thread

Written by Lucas M :ruby: on 2024-11-08 at 11:52

A little pattern I like to keep Rails controllers lean 👀

https://dev.to/lcsm0n/streamlining-rails-controllers-with-simple-poro-validators-4h9a

[#]rails #ruby

=> More informations about this toot | View the thread

Written by Lucas M :ruby: on 2024-10-30 at 17:24

I recently found out that handling error classes in rescue clauses could lead to surprising behaviours when dealing with multiple levels of inheritance.

Here's a little post I wrote on Ruby rescue clause hierarchy:

https://dev.to/lcsm0n/ruby-exception-handling-pitfall-understanding-rescue-clause-hierarchy-cjo

[#]ruby #rails #learning

=> More informations about this toot | View the thread

Written by Lucas M :ruby: on 2024-10-23 at 08:27

I recently ran into an old codebase (~12 years old) without a Rubocop configuration, and figured adding one to existing code wasn't always as easy as it seems.

Here's a little step-by-step guide I wrote on how to tackle this kind of situation:

https://dev.to/lcsm0n/adding-a-rubocop-config-to-an-old-repository-step-by-step-guide-49db

[#]ruby #rails #rubocop #opensource

=> More informations about this toot | View the thread

Written by Lucas M :ruby: on 2024-10-17 at 08:16

Big thanks to @andycroll for the launch of https://usingrails.com/

I have been waiting for such high-quality directory for a long time.

[#]rails

=> More informations about this toot | View the thread

Written by Lucas M :ruby: on 2024-10-16 at 15:38

Happy to use my first Mastodon post to share a little discovery I made regarding Ruby regex matchers compared to online visualisation tools.

To many more! 🍻

https://dev.to/lcsm0n/the-importance-of-the-environment-in-regex-pattern-matching-3io2

[#]ruby #regex

=> More informations about this toot | View the thread

=> This profile with reblog | Go to lucasm@ruby.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/113317936796299512
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
336.789851 milliseconds
Gemini-to-HTML Time
1.834296 milliseconds

This content has been proxied by September (ba2dc).