Mobility
Ruby gem that stores and retrieves translations as attributes on ActiveRecord and Sequel models.
Mobility is a Ruby gem that stores translations as attributes on a class, so a model can keep its title or body in several languages. Its backends decide where the translations live: shared tables by default, translated columns, a translation table per model, or PostgreSQL json, jsonb and hstore columns. The gem works with ActiveRecord and Sequel models. In a Rails project a generator creates the initializer and the shared translation tables; with Sequel, the migrations are written by hand.
Worth knowing
Each ORM integration has its own minimum version, listed in the install sections of the README. The PostgreSQL-only backends need PostgreSQL. The README says the json backend may also work with MySQL, but that combination is not tested.
Identity
- Status
- Active
- Maintainer
- Chris Salzberg3
- Maintained by
- Individual
- First release
- 20164
Rendering and deploy
- Install with
- gem2
Releases
Adoption
Sources
- 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/shioyama/mobility - 2026-11-16: links, Categories, Databases, Install with, License model
github.com/shioyama/mobility/blob/master/README.md - 2026-11-16: Maintainer
github.com/shioyama/mobility/blob/master/LICENSE.txt - 2026-11-16: First release
rubygems.org/api/v1/versions/mobility.json - 2026-11-16: Runtime, Minimum runtime
github.com/shioyama/mobility/blob/v1.3.2/mobility.gemspec - 2026-11-16: Contributors
api.github.com/repos/shioyama/mobility/contributors?per_page=1 - 2026-11-16: Current major version, Last release
github.com/shioyama/mobility/releases/tag/v1.3.2