Coder Social home page Coder Social logo

wallaby-active_record's Introduction

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.

wallaby-active_record's People

Contributors

tian-im avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

morristech

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.