Mobility is a gem for storing and retrieving translations as attributes on a class. These translations could be the content of blog posts, captions on images, tags on bookmarks, or anything else you might want to store in different languages. Storage of translations is handled by customizable "backends" which encapsulate different storage strategies. The default way to store translations is to put them all in a set of two shared tables, but many alternatives are also supported, including translatable columns and model translation tables, as well as database-specific storage solutions such as json/jsonb and Hstore (for PostgreSQL).

Features

  • Mobility is a cross-platform solution, currently supporting both ActiveRecord and Sequel ORM, with support for other platforms planned
  • Requires ActiveRecord
  • Support for most backends and features is also supported with ActiveRecord/Rails
  • Each method call inside the block passed to plugins declares a plugin
  • You can also set defaults for backend-specific options
  • You can extend Mobility just like in ActiveRecord

Project Samples

Project Activity

See All Activity >

Categories

JSON, Test Frameworks

License

MIT License

Follow Mobility

Mobility Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mobility!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby JSON Software, Ruby Test Frameworks

Registered

2023-10-17