Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-01-20 | 1 | -113/+116 |
|\ | |||||
| * | editing comments regarding rescuable optoin in AS callbacks | Neeraj Singh | 2011-01-12 | 1 | -2/+3 |
| | | |||||
| * | Expand and clarify AS::Callbacks docs. | John Firebaugh | 2011-01-09 | 1 | -113/+115 |
| | | |||||
* | | removing usesless variable assignments | Aaron Patterson | 2011-01-18 | 1 | -1/+5 |
|/ | |||||
* | expand on set_callback method to explain that in | Neeraj Singh | 2010-12-21 | 1 | -0/+4 |
| | | | | some cases an implicit :before is assumed | ||||
* | Replace nested ifs with case/when | Pavel Gorbokon | 2010-12-07 | 1 | -46/+44 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Ommit nil in method call | Pavel Gorbokon | 2010-12-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | bye bye extlib_inheritable_*, AS callbacks now using class_attribute | Josh Kalderimis | 2010-11-18 | 1 | -9/+13 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Correct documentation that references how *_filter of action_pack are ↵ | Marcelo Giorgi | 2010-10-03 | 1 | -2/+2 |
| | | | | translated into set_callback/run_callback's (from active_support) invocations. | ||||
* | after_create in ActiveModel should in the order specified | Neeraj Singh | 2010-09-27 | 1 | -1/+1 |
| | | | | | | [#5650 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | lifecycle should be two words, life cycle | Jaime Iniesta | 2010-08-26 | 1 | -1/+1 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | adding an example of skipping a callback | Neeraj Singh | 2010-08-06 | 1 | -1/+5 |
| | |||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-08-05 | 1 | -1/+2 |
|\ | |||||
| * | documents that :terminator is a string to be eval'ed, and that it sees the ↵ | Xavier Noria | 2010-08-05 | 1 | -1/+2 |
| | | | | | | | | result variable | ||||
| * | Revert "correcting the documentation that default to false. it does not ↵ | Xavier Noria | 2010-08-05 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | default to false. returing either false or nil will not halt the chain unless :terminator is explicitly mentioned" This reverts commit cd87cf771acb90c43cd56e5f038fc345a69790f9. Reason: it does default to "false". | ||||
| * | correcting the documentation that default to false. it does not default to ↵ | Neeraj Singh | 2010-08-05 | 1 | -5/+4 |
| | | | | | | | | false. returing either false or nil will not halt the chain unless :terminator is explicitly mentioned | ||||
* | | Merge remote branch 'docrails/master' | Xavier Noria | 2010-08-05 | 1 | -3/+3 |
|\| | |||||
| * | Fix ActiveSupport::Callbacks' define_callbacks and ActiveSupport::Concern ↵ | Tom Stuart | 2010-08-05 | 1 | -3/+3 |
| | | | | | | | | documentation to look like native English | ||||
* | | Merge remote branch 'docrails/master' | Xavier Noria | 2010-08-05 | 1 | -1/+3 |
|\| | |||||
| * | adding documentation to ActiveSupport::Concern ht:strictly typed for an ↵ | Neeraj Singh | 2010-08-04 | 1 | -1/+3 |
| | | | | | | | | | | | | awesome example some minor documentation changes | ||||
* | | Reload action_methods in AbstractController after defining new method. | Piotr Sarnacki | 2010-08-04 | 1 | -1/+4 |
|/ | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Define a convention for descendants and subclasses. | José Valim | 2010-07-05 | 1 | -2/+2 |
| | | | | | | The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children. By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts. | ||||
* | Change callbacks to automatically include DescendantsTracker and rename ↵ | José Valim | 2010-06-19 | 1 | -3/+7 |
| | | | | descendents to descendants. | ||||
* | edit pass: the names of Rails components have a space, ie, "Active Record", ↵ | Xavier Noria | 2010-06-14 | 1 | -1/+1 |
| | | | | not "ActiveRecord" | ||||
* | edit pass in #define_callbacks rdoc | Xavier Noria | 2010-06-14 | 1 | -20/+22 |
| | |||||
* | adding to the :kind documentation for ActiveSupport callbacks | Neeraj Singh | 2010-06-14 | 1 | -0/+5 |
| | |||||
* | clearer documentation of how scope applies to ActiveSupport callbacks | Neeraj Singh | 2010-06-14 | 1 | -20/+32 |
| | |||||
* | Simplify and optimize callbacks superclass sync. | José Valim | 2010-06-12 | 1 | -54/+21 |
| | |||||
* | 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> |