Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Eliminate the need to check for superclass changes to the callback stack ↵ | wycats | 2010-06-04 | 1 | -3/+6 |
| | | | | each time through the callbacks | ||||
* | refactor evals and adds some __FILE__ and __LINE__ | Santiago Pastorino | 2010-05-20 | 1 | -27/+24 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fix stack trace lines on class_eval | Santiago Pastorino | 2010-04-09 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵ | Xavier Noria | 2010-04-05 | 1 | -1/+1 |
| | | | | there, same for #class_eval to simplify, and adds coverage for class_eval | ||||
* | Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. | Jeremy Kemper | 2010-02-25 | 1 | -2/+2 |
| | |||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 1 | -1/+1 |
| | |||||
* | callbacks.rb needs active_support/core_ext/object/metaclass because it uses ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | | | | metaclass | ||||
* | Simplify repair_validations on AR and make it work with new callbacks. | José Valim | 2010-01-01 | 1 | -1/+1 |
| | |||||
* | Fix inheritance issue with new callbacks. | José Valim | 2010-01-01 | 1 | -19/+57 |
| | |||||
* | Setup and teardown now use new callbacks. | José Valim | 2009-12-30 | 1 | -1/+1 |
| | |||||
* | Silence some trivial warnings: shadowed local vars, indentation mismatches | Jeremy Kemper | 2009-12-28 | 1 | -4/+4 |
| | |||||
* | Revert "Missing requires" | Jeremy Kemper | 2009-10-14 | 1 | -1/+0 |
| | | | | | | These rely on constant autoloads. This reverts commit d39f397dc6726b27cc2c60a6e24e15cb1944ec58. | ||||
* | Missing requires | Michael Koziarski | 2009-10-15 | 1 | -0/+1 |
| | |||||
* | Extend Callbacks and Rescuable with AS concern | Joshua Peek | 2009-10-13 | 1 | -3/+1 |
| | |||||
* | Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks | Joshua Peek | 2009-10-12 | 1 | -170/+452 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -1/+1 |
| | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -0/+2 |
| | |||||
* | Pull up some other changes from rails/rails/master | Michael S. Klishin | 2008-12-29 | 1 | -7/+2 |
|\ | |||||
| * | Allow multiple conditions for callbacks [#1627 state:resolved] | Joshua Peek | 2008-12-28 | 1 | -7/+2 |
| | | |||||
* | | Sync with rails/rails/master, merge two metaprogramming annotation efforts | Michael S. Klishin | 2008-12-28 | 1 | -14/+18 |
|\| | |||||
| * | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 1 | -14/+18 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | | Annotated metaprogramming code across ActiveSupport | Michael S. Klishin | 2008-12-28 | 1 | -14/+14 |
|/ | |||||
* | Fix indentation mismatch | Jeremy Kemper | 2008-09-08 | 1 | -1/+1 |
| | |||||
* | Simplified and renamed CallbackChain union method to replace_or_append! | Joshua Peek | 2008-08-21 | 1 | -8/+13 |
| | |||||
* | Use define_callbacks helper for ActiveRecord validations. | Joshua Peek | 2008-04-20 | 1 | -10/+10 |
| | |||||
* | Slight optimization to CallbackChain#union and delete. | Joshua Peek | 2008-04-18 | 1 | -6/+5 |
| | |||||
* | Tidy up ActiveSupport::Callbacks::CallbackChain instance API. | Joshua Peek | 2008-04-17 | 1 | -8/+17 |
| | |||||
* | Replaced callback method evaluation in AssociationCollection class to use ↵ | Josh Peek | 2008-04-04 | 1 | -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 Kemper | 2008-03-18 | 1 | -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 #11254 | Pratik Naik | 2008-03-07 | 1 | -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 Naik | 2008-03-05 | 1 | -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 Kemper | 2008-01-19 | 1 | -0/+94 |
teardown, and ActionController::Dispatcher. Closes #10727. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |