# Mobility

Ruby gem that stores and retrieves translations as attributes on ActiveRecord and Sequel models.


Source: https://findsoftware.frbit.cloud/mobility/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/shioyama/mobility
- docs: https://github.com/shioyama/mobility/wiki

### Identity

- status: active
- maintainer: Chris Salzberg
- maintainerType: individual
- parent: unknown
- firstRelease: 2016
- hqCountry: unknown

### Kind

- category: library
- hosting: ruby
- language: ruby
- runtime: ruby
- runtimeMin: ruby 2.5
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: postgres
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: gem

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 1
- latestReleaseDate: 2025-01-25

### Adoption

- githubStargazers: 1142
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 38
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/shioyama/mobility (read 2026-11-16)
- urls: https://github.com/shioyama/mobility/blob/master/README.md (read 2026-11-16)
- maintainer: https://github.com/shioyama/mobility/blob/master/LICENSE.txt (read 2026-11-16)
- firstRelease: https://rubygems.org/api/v1/versions/mobility.json (read 2026-11-16)
- language: https://api.github.com/repos/shioyama/mobility (read 2026-11-16)
- runtime: https://github.com/shioyama/mobility/blob/v1.3.2/mobility.gemspec (read 2026-11-16)
- runtimeMin: https://github.com/shioyama/mobility/blob/v1.3.2/mobility.gemspec (read 2026-11-16)
- category: https://github.com/shioyama/mobility/blob/master/README.md (read 2026-11-16)
- databases: https://github.com/shioyama/mobility/blob/master/README.md (read 2026-11-16)
- installMethod: https://github.com/shioyama/mobility/blob/master/README.md (read 2026-11-16)
- license: https://api.github.com/repos/shioyama/mobility (read 2026-11-16)
- licenseModel: https://github.com/shioyama/mobility/blob/master/README.md (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/shioyama/mobility (read 2026-11-16)
- contributors: https://api.github.com/repos/shioyama/mobility/contributors?per_page=1 (read 2026-11-16)
- currentMajor: https://github.com/shioyama/mobility/releases/tag/v1.3.2 (read 2026-11-16)
- latestReleaseDate: https://github.com/shioyama/mobility/releases/tag/v1.3.2 (read 2026-11-16)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
