Xavier Noria
628e51ff10
applies new string literal convention in actionpack/lib
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:51:43 +02:00
Matthew Draper
d3c9d808e3
Publish AS::Executor and AS::Reloader APIs
...
These should allow external code to run blocks of user code to do
"work", at a similar unit size to a web request, without needing to get
intimate with ActionDipatch.
2016-03-02 02:14:20 +10:30
yui-knk
9cb831ff84
[ci skip] Fix comment of ActionDispatch::Callbacks
...
cc ddce3dd
2014-11-23 13:22:36 +09:00
Akshay Vishnoi
fdf36d8110
class methods moved to already defined class<<self block
2013-11-15 00:23:35 +05:30
Xavier Noria
4aee8dd486
load active_support/core_ext/module/delegation in active_support/rails
2012-08-02 21:59:23 +02:00
Bogdan Gusiev
10bac29b33
AS::Callbacks: deprecate rescuable option
2012-02-22 17:43:13 +02:00
Josh Kalderimis
d182b6ee9c
removed deprecated methods, and related tests, from ActionPack
2011-05-24 23:38:59 +02:00
John Firebaugh
57bc25c5f8
Use run_callbacks; the generated _run_<name>_callbacks method is not a public interface.
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-01-31 19:45:53 -02:00
José Valim
d6efd3cfc2
Don't deprecate to_prepare.
2010-12-23 19:21:14 +01:00
John Firebaugh
435bccda93
Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-12-20 12:43:02 +01:00
Emilio Tagua
4d6e178f88
Remove method if exists, avoid calling Array#first so many times.
2010-09-28 16:31:21 -03:00
José Valim
312f433241
Clear DescendantsTracker on each request.
2010-06-19 17:51:44 +02:00
José Valim
e49f94d71c
Revert behavior from a5684dfa3c
and ensure after_initializer is executed after to_prepare callbacks.
2010-02-19 08:15:49 +01:00
José Valim
80130d1201
Extract routes reloading responsibilities from application and load them just upon a request.
2010-01-23 16:06:33 +01:00
José Valim
0334f9f6cf
Add ActionDispatch::Notifications middleware.
2010-01-17 11:29:51 +01:00
José Valim
4598d88749
Ensure log is flushed and tailed on failures.
2010-01-15 14:16:52 +01:00
José Valim
8c8942ed4f
Move Dispatcher setup to Railties and add instrumentation hook.
2010-01-15 12:24:30 +01:00
Joshua Peek
21e7b84621
Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks
2009-10-12 22:15:43 -05:00
Joshua Peek
9bc8defe38
Use "run_callbacks :foo" since it is the public api for callbacks [ #3329
...
state:resolved]
2009-10-12 21:58:49 -05:00
José Valim
2407479603
Fixes Sam Ruby tests suite.
...
Signed-off-by: Yehuda Katz <wycats@gmail.com>
2009-09-21 17:56:24 -07:00
José Valim
a0233dd3b2
Use NewCallbacks on ActionDispatch::Callbacks.
2009-09-20 10:56:38 -03:00
Joshua Peek
092089015b
Extract generic callbacks middleware from dispatcher
2009-05-17 13:39:55 -05:00