diff options
author | John Foley <john@thefol.io> | 2012-07-02 10:18:12 -0600 |
---|---|---|
committer | John Foley <john@thefol.io> | 2012-09-23 12:53:50 -0600 |
commit | d66d6076b2a723c72d97fb8e8f90d83249f9bfe5 (patch) | |
tree | e5136d7466ff78671f6d999cb5a8ca0c01b1faf2 /activerecord/test/migrations/empty/.gitkeep | |
parent | 09d298eeccd46857dd018aea7ba0a880640cc289 (diff) | |
download | rails-d66d6076b2a723c72d97fb8e8f90d83249f9bfe5.tar.gz rails-d66d6076b2a723c72d97fb8e8f90d83249f9bfe5.tar.bz2 rails-d66d6076b2a723c72d97fb8e8f90d83249f9bfe5.zip |
Fix collisions with before and after validation callbacks.
This commit allows a user to do something like:
before_validation :do_stuff, :on => [ :create, :update ]
after_validation :do_more, :on => [ :create, :update ]
Diffstat (limited to 'activerecord/test/migrations/empty/.gitkeep')
0 files changed, 0 insertions, 0 deletions