aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/callbacks.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-2/+2
|
* Merge docrailsPratik Naik2010-01-171-1/+1
|
* callbacks.rb needs active_support/core_ext/object/metaclass because it uses ↵Xavier Noria2010-01-011-0/+1
| | | | metaclass
* Simplify repair_validations on AR and make it work with new callbacks.José Valim2010-01-011-1/+1
|
* Fix inheritance issue with new callbacks.José Valim2010-01-011-19/+57
|
* Setup and teardown now use new callbacks.José Valim2009-12-301-1/+1
|
* Silence some trivial warnings: shadowed local vars, indentation mismatchesJeremy Kemper2009-12-281-4/+4
|
* Revert "Missing requires"Jeremy Kemper2009-10-141-1/+0
| | | | | | These rely on constant autoloads. This reverts commit d39f397dc6726b27cc2c60a6e24e15cb1944ec58.
* Missing requiresMichael Koziarski2009-10-151-0/+1
|
* Extend Callbacks and Rescuable with AS concernJoshua Peek2009-10-131-3/+1
|
* Callbacks, DeprecatedCallbacks = NewCallbacks, CallbacksJoshua Peek2009-10-121-170/+452
|
* Merge docrailsPratik Naik2009-07-251-1/+1
|
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-0/+2
|
* Pull up some other changes from rails/rails/masterMichael S. Klishin2008-12-291-7/+2
|\
| * Allow multiple conditions for callbacks [#1627 state:resolved]Joshua Peek2008-12-281-7/+2
| |
* | Sync with rails/rails/master, merge two metaprogramming annotation effortsMichael S. Klishin2008-12-281-14/+18
|\|
| * Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-281-14/+18
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Annotated metaprogramming code across ActiveSupportMichael S. Klishin2008-12-281-14/+14
|/
* Fix indentation mismatchJeremy Kemper2008-09-081-1/+1
|
* Simplified and renamed CallbackChain union method to replace_or_append!Joshua Peek2008-08-211-8/+13
|
* Use define_callbacks helper for ActiveRecord validations.Joshua Peek2008-04-201-10/+10
|
* Slight optimization to CallbackChain#union and delete.Joshua Peek2008-04-181-6/+5
|
* Tidy up ActiveSupport::Callbacks::CallbackChain instance API.Joshua Peek2008-04-171-8/+17
|
* Replaced callback method evaluation in AssociationCollection class to use ↵Josh Peek2008-04-041-17/+11
| | | | | | ActiveSupport::Callbacks. Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor filters to use Active Support callbacks. Closes #11235.Jeremy Kemper2008-03-181-18/+77
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed typos in ActiveSupport::Callbacks documentation. Closes #11254Pratik Naik2008-03-071-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docs for ActiveSupport::Callbacks. Closes #11254 [ernesto.jimenez]Pratik Naik2008-03-051-0/+120
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract ActiveSupport::Callbacks from Active Record, test case setup and ↵Jeremy Kemper2008-01-191-0/+94
teardown, and ActionController::Dispatcher. Closes #10727. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de