ruby.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
If you are interested in the Ruby programming language, come join us! Tell us about yourself when signing up. If you just want to join Mastodon, another server will be a better place for you.

Administered by:

Server stats:

1K
active users

postmodern

I'm considering adding models for storing street addresses, and I'm curious what the most efficient way to store them is? Should there be separate City, State, Country models, or just one StreetAddress model with city, state, country columns that repeat? I'd like to balance both query performance and storage space efficiency if possible.