Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This project demonstrates how to define and run custom callbacks on normal ruby objects with ActiveSupport::Callbacks
Ruby
Branch: master

initial commit

latest commit 7a0c55536c
Jerry Cheung authored
Failed to load latest commit information.
Gemfile initial commit
Gemfile.lock initial commit
README.md initial commit
example.html initial commit
example.rb initial commit

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.