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
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
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
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
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
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
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
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
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
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
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 This content has been proxied by September (ba2dc).Proxy Information
text/gemini