Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This project demonstrates how to define and run custom callbacks on normal ruby objects with ActiveSupport::Callbacks
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Gemfile
Gemfile.lock
README.md
example.html
example.rb

README.md

ActiveSupport Callback Tutorial

This project demonstrates how to define and run custom callbacks on normal ruby objects with ActiveSupport::Callbacks.

For a longer explanation, check out this blog post.

To run the examples, run the following:

git clone https://github.com/jch/as_callback_tutorial
bundle
bundle exec ruby example.rb

The documented source is available in example.html.

Something went wrong with that request. Please try again.