#romrb — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #romrb, aggregated by home.social.
-
I understand the repo as the the place for actually interacting with the app logic: where all the queries and commands live.
I'm short, repos provide the interface your application "wants." They are agnostic to the details managed by relations.
My mental model could be wrong, but I think it would be good to develop some consensus on these concepts.
2/2
-
If anyone would like to help me with shaping a better API for rom_encrypted_attribute, here's a thread and a post with my most recent doubts:
https://discourse.rom-rb.org/t/encrypted-attributes/637/4 -
Today I learned how to add Postgres trigram indexes in ROM-rb. The solution was non-obvious (to me), so I thought it would make a fine TIL.
https://rossney.net/articles/implementing-postgres-trigram-indexes-in-rom/
Comments, feedback, and (especially) corrections are welcome.
-
Looking to play with Hanami, but want a fullstack experience? Here is a three-part guide to adding ROM-rb to your Hanami project.
- Part 1, Configuring Hanami
https://rossney.net/articles/full-stack-hanami-part-1/- Part 2, Using ROM
https://rossney.net/articles/full-stack-hanami-part-2/- Part 3, Using the DB in Tests
https://rossney.net/articles/full-stack-hanami-part-3/Enjoy!
Comments, feedback, and corrections (please!) are welcome here.
-
That was a big yak to shave. But do I have now a gem for Rails-compatible attributes encryption for ROM? Maybe.
-
Since ruby.social runs on Mastodon 4.0 now, you can follow hashtags!
Here are some hashtags that I'll be using for development updates:
Simply click on a hashtag and then another click on that➕ icon 🙂