aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* deprecating string based terminatorsAaron Patterson2013-05-146-9/+23
|
* inspect the filter when displaying error messagesAaron Patterson2013-05-141-1/+1
|
* use public api for testing rather than grabbing instance variablesAaron Patterson2013-05-141-1/+1
|
* halting lambda must be instance execedAaron Patterson2013-05-141-2/+2
|
* fixing arity2 testAaron Patterson2013-05-141-3/+8
|
* Merge pull request #10266 from vipulnsward/fix_HIA_to_hashRafael Mendonça França2013-05-142-3/+11
|\ | | | | fix HashWithIndifferentAccess#to_hash behaviour
| * fix HashWithIndifferentAccess#to_hash behaviourVipul A M2013-04-192-3/+11
| |
* | Merge branch 'polymorphic'Aaron Patterson2013-05-144-230/+364
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * polymorphic: (41 commits) fix shadowed variable warnings polymorphic around callbacks polymorphic after filter rename terminal to halting, try to keep naming consistent push the before filter lambdas to factory methods polymorphic before callbacks use a singleton end node Revert "we never pass blocks, so remove this" if there is nothing to compile, then do not bother compiling Arrays are no longer supported we never pass blocks, so remove this raise an argument error if the filter arity is greater than 1 pass the actual filter, not a string do not keep a reference to the chain in the callback objects fix deprecation test push merge code to the callback itself dup the callback and set the chain remove klass because it is not used rename instance variables push duplicates? logic to the instance ...
| * | fix shadowed variable warningsAaron Patterson2013-05-141-5/+5
| | |
| * | polymorphic around callbacksAaron Patterson2013-05-141-15/+79
| | |
| * | polymorphic after filterAaron Patterson2013-05-141-25/+70
| | |
| * | rename terminal to halting, try to keep naming consistentAaron Patterson2013-05-141-4/+4
| | |
| * | push the before filter lambdas to factory methodsAaron Patterson2013-05-141-40/+58
| | |
| * | polymorphic before callbacksAaron Patterson2013-05-141-16/+54
| | |
| * | Merge branch 'master' into normalizecbAaron Patterson2013-05-142-2/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | * master: private callback methods should work Update mail to minimum version 2.5.4
| * | | use a singleton end nodeAaron Patterson2013-05-131-5/+10
| | | |
| * | | Revert "we never pass blocks, so remove this"Aaron Patterson2013-05-131-1/+1
| | | | | | | | | | | | | | | | This reverts commit 9caf0cf9c8c7b42737ae78c470a5dd2f583ada75.
| * | | if there is nothing to compile, then do not bother compilingAaron Patterson2013-05-131-3/+8
| | | |
| * | | Arrays are no longer supportedAaron Patterson2013-05-131-4/+0
| | | |
| * | | we never pass blocks, so remove thisAaron Patterson2013-05-131-1/+1
| | | |
| * | | raise an argument error if the filter arity is greater than 1Aaron Patterson2013-05-131-12/+6
| | | |
| * | | Merge branch 'master' into normalizecbAaron Patterson2013-05-131-0/+40
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * master: adding more callback type coverage
| * \ \ \ Merge branch 'master' into normalizecbAaron Patterson2013-05-131-20/+34
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: extract getting an setting callbacks to methods call extracted method from callback manipulation methods extract callback param munging no reason to make these defaulted, we always pass values in Conflicts: activesupport/lib/active_support/callbacks.rb
| * | | | | pass the actual filter, not a stringAaron Patterson2013-05-132-2/+2
| | | | | |
| * | | | | Merge branch 'master' into normalizecbAaron Patterson2013-05-1358-214/+360
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (61 commits) add tests for reset_calbacks Fixing build broken by this change Extract variable out of loop Updated comment to Rails 4 Fixes NoMethodError: `alias_method_chain` when requiring just active_support/core_ext better error message when app name is not passed in `rails new` Code cleanup for ActionDispatch::Flash#call Fix typo: require -> requires Add CHANGELOG entry for #10576 Merge pull request #10556 from Empact/deprecate-schema-statements-distinct Some editorial changes on the documentation. respond_to -> respond to in a message from AM::Lint specify that dom_(id|class) are deprecated in controllers, views are fine copy edits [ci skip] Fix class and method name typos Replace multi_json with json ruby -> Ruby Adding documentation to the automatic inverse_of finder. Improve CHANGELOG entry [ci kip] Call assume_migrated_upto_version on connection ... Conflicts: activesupport/lib/active_support/callbacks.rb
| * | | | | | do not keep a reference to the chain in the callback objectsAaron Patterson2013-05-101-12/+10
| | | | | | |
| * | | | | | fix deprecation testAaron Patterson2013-05-101-0/+2
| | | | | | |
| * | | | | | push merge code to the callback itselfAaron Patterson2013-05-101-18/+10
| | | | | | |
| * | | | | | dup the callback and set the chainAaron Patterson2013-05-101-8/+8
| | | | | | |
| * | | | | | remove klass because it is not usedAaron Patterson2013-05-101-9/+7
| | | | | | |
| * | | | | | rename instance variablesAaron Patterson2013-05-101-12/+14
| | | | | | |
| * | | | | | push duplicates? logic to the instanceAaron Patterson2013-05-101-16/+7
| | | | | | |
| * | | | | | callback chain is in charge of the cache, so remove method based cacheAaron Patterson2013-05-101-21/+0
| | | | | | |
| * | | | | | __define_callbacks method is not necessary anymoreAaron Patterson2013-05-101-8/+1
| | | | | | |
| * | | | | | just run compiled callbacks since they are cachedAaron Patterson2013-05-101-14/+4
| | | | | | |
| * | | | | | cache compiled callbacksAaron Patterson2013-05-101-7/+27
| | | | | | |
| * | | | | | use delegation over inheritance so we can figure when to cache / bust cacheAaron Patterson2013-05-101-5/+22
| | | | | | |
| * | | | | | fixing activemodel testsAaron Patterson2013-05-101-1/+2
| | | | | | |
| * | | | | | use an environment object to hold state about the filter callsAaron Patterson2013-05-101-21/+41
| | | | | | |
| * | | | | | object based callbacks cannot be duplicatedAaron Patterson2013-05-101-7/+4
| | | | | | |
| * | | | | | pass the run block as a normal variable to the rest of the callbacksAaron Patterson2013-05-101-12/+12
| | | | | | |
| * | | | | | fixing more variable namesAaron Patterson2013-05-101-10/+10
| | | | | | |
| * | | | | | fix variable nameAaron Patterson2013-05-101-6/+6
| | | | | | |
| * | | | | | reduce the number of lambasAaron Patterson2013-05-101-5/+2
| | | | | | |
| * | | | | | callback sequence is no longer usedAaron Patterson2013-05-101-6/+0
| | | | | | |
| * | | | | | no need for variable assignments, just pass the values inAaron Patterson2013-05-101-6/+2
| | | | | | |
| * | | | | | make_lambda is never called with an ArrayAaron Patterson2013-05-101-2/+0
| | | | | | |
| * | | | | | callbacks are wrapped with lambdasAaron Patterson2013-05-103-108/+78
| | | | | | |
| * | | | | | remove dead codeAaron Patterson2013-05-101-10/+0
| | | | | | |
| * | | | | | fix method namesAaron Patterson2013-05-101-40/+44
| | | | | | |