The project is in a healthy, maintained state
Wallaby's ActiveRecord ORM adapter
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 4.2.0
~> 0.2.3
 Project Readme

Gem Version License: MIT Travis CI Maintainability Test Coverage Inch CI

Wallaby::ActiveRecord adapter is designed to seamlessly integrate ActiveRecord models and instances with the Wallaby::Core interfaces, enabling smooth handling of CRUD operations, authorization, and pagination.

Key features of Wallaby::ActiveRecord include:

  • Offer built-in compatibility with popular authorization frameworks like CanCanCan and Pundit, allowing you to easily manage access control for your ActiveRecord models.
  • Fully support all Rails associations (belongs_to, has_one, has_many, has_and_belongs_to_many).
  • All PostgreSQL types supported by Rails are fully supported to ensure smooth handling of data with different types.
  • Facilitate the normalization of data during form submissions, specifically for binary, point and range types.
  • Provide the flexibility to define custom filters for the index action, enabling you to create tailored queries based on your specific requirements.
  • Allow sorting for single or multiple columns and provide nulls sorting option, enhancing the control and precision of result ordering.
  • Support STI (Single Table Inheritance)
  • Offer advance search capabilities using a convenient colon syntax, empowering users to perform precise searches with ease.

Install

Add Wallaby::ActiveRecord to Gemfile.

gem 'wallaby-active_record'

And re-bundle.

bundle install

Documentation

Want to contribute?

Raise an issue, discuss and resolve!

License

This project uses MIT License.