Giter Club home page Giter Club logo

activerecord-hooks's Introduction

This repository is a place to discuss the current needs to extend ActiveRecord and see if we can provide a clean, shared way to achieve this.

Some background

adapter_extensions is a gem that add features to ActiveRecord adapters. It started in 2006 and is currently maintained by Thibaut Barrère.

Upgrading adapter_extensions to Rails 3 wasn't trivial, so the maintainer looked for a solution and discovered activerecord-import by Zach Dennis, which implemented a trick to extend ActiveRecord adapters.

After chatting a bit, we came to the conclusion that it would be useful to create a common solution to extend ActiveRecord.

TODO

  • write down the current use-cases
  • define ActiveRecord hooks or other tricks which would let us extend as needed
  • create a gem that will solve that
  • eventually, merge the gem into Rails itself

activerecord-hooks's People

Contributors

thbar avatar zdennis avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.