A Ruby ORM that maps REST resources to objects, enabling applications powered by RESTful APIs instead of databases.
Her is a Ruby ORM (Object Relational Mapper) that maps RESTful API resources to Ruby objects. It enables developers to build applications that rely on external REST APIs instead of traditional databases, providing an ActiveRecord-like interface for CRUD operations, associations, and advanced ORM features. It solves the problem of interacting with REST services in a structured, object-oriented way.
Ruby developers building applications that consume RESTful APIs, especially those migrating from or replacing Rails' ActiveResource, or needing a flexible ORM for API-driven backends.
Developers choose Her for its familiar ActiveRecord-like syntax, extensive customization via Faraday middleware, support for complex associations and JSON formats, and its role as a modern, maintained alternative to ActiveResource.
Her is an ORM (Object Relational Mapper) that maps REST resources to Ruby objects. It is designed to build applications that are powered by a RESTful API instead of a database.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides methods like find, create, and save, making it intuitive for Rails developers, as shown in the basic usage examples that mirror ActiveRecord patterns.
Uses Faraday for customizable request/response processing, supporting authentication, caching, and custom JSON parsing, demonstrated with OAuth and caching setups in the README.
Includes associations (has_many, belongs_to), validations, callbacks, and scopes, enabling complex API interactions similar to database ORMs without local storage.
Offers built-in middleware for JSON API 1.0 compliant services, simplifying integration with standards-based APIs through dedicated parsers and model configurations.
Her doesn't support authentication by default, requiring developers to implement custom middleware for even basic token or OAuth setups, adding initial complexity.
Setting up middleware, custom paths, and associations can be intricate, as evidenced by the lengthy examples for simple tasks like authentication or JSON parsing.
Designed solely for REST APIs, so it's unsuitable for other paradigms like GraphQL, forcing workarounds or alternative libraries for non-REST services.
The ORM abstraction layer introduces overhead for simple HTTP requests, making raw clients like Faraday directly faster for basic, high-performance needs.
Her is an open-source alternative to the following products: