Skip to content
This repository

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 example.html
Octocat-spinner-32 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.