Giter VIP home page Giter VIP logo

acts_as_account's Introduction

acts_as_account

Theory

ActsAsAccount implements a “Double Entry Accounting” system for your Rails-models.

It hooks into ActiveRecord and allows to add accounts to any model by simply means of adding “has_account” to your model. Because the accounts are connected via a has_many relation no migration to the account-holder tables is needed.

We also hook into the ActionController request cycle to warn the developer if a request has left the uncommitted changes in the system.

How to test

Run the cucumber features from the acs_as_account gem, just execute

  • rake features:create_database

  • cucumber

Credits

This gem was written for the payment backend of betterplace.org by Thies C. Arntzen (github.com/thieso2) and Norman Timmler (github.com/unnu).

Copyright © 2010 gut.org gAG

acts_as_account's People

Contributors

thieso2 avatar averell23 avatar xijo avatar

Stargazers

Christian Hochfilzer avatar

Watchers

Christian Hochfilzer avatar James Cloos 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.