Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
AwsOnchange =========== v 1.0 - November 2010 Add-on to use check easily change on some model, and running action see wiki for more detailled information : http://wiki.github.com/supernini/aws_onchange/ Example ======= #each time, field1 and field3 are change or created, update_action is called class MyModels < ActiveRecord::Base aws_onchange :checked_field => [:field1, :field3], :method => :update_action, :oncreate => true def update_action #action to do end end