Piotr Sarnacki
4efad291c1
Deprecate ActionController::RecordIdentifier
2012-08-28 10:51:03 +02:00
Piotr Sarnacki
264624049e
Move ActionController::RecordIdentifier to ActionView
...
Since it's more about DOM classes and ids it belongs to Action View
better. What's more, it's more convenient to make it part of Action View
to follow the rule that Action Pack can depend on Action View, but not
the other way round.
2012-08-28 10:51:03 +02:00
Piotr Sarnacki
7185e35971
Remove dependency on actionpack in ActionView::AssetPaths
...
Since Action View should not depend on actionpack, it's best to delegate
invalid_asset_host! to controller and just rely on such simple contract
instead of raising ActionController::RoutingError directly.
2012-08-28 10:51:03 +02:00
José Valim
2801786e1a
Get rid of config.preload_frameworks in favor of config.eager_load_namespaces
...
The new option allows any Ruby namespace to be registered and set
up for eager load. We are effectively exposing the structure existing
in Rails since v3.0 for all developers in order to make their applications
thread-safe and CoW friendly.
2012-08-21 14:47:19 -03:00
Xavier Noria
4aee8dd486
load active_support/core_ext/module/delegation in active_support/rails
2012-08-02 21:59:23 +02:00
Xavier Noria
64bc8447c2
load active_support/concern in active_support/rails
2012-08-02 21:59:23 +02:00
Xavier Noria
1a7b2e8fad
defines a private require-hub active_support/rails
...
This is a private place to put those AS features that are used
by every component. Nowadays we cherry-pick individual files
wherever they are used, but that it is not worth the effort
for stuff that is going to be loaded for sure sooner or later,
like blank?, autoload, concern, etc.
2012-08-02 21:59:22 +02:00
Aaron Patterson
af0a9f9eef
added live responses which can be written and read in separate threads
2012-07-29 21:43:05 -07:00
José Valim
6db930cb5b
Remove --http.
2012-03-14 22:30:01 +01:00
Santiago Pastorino
4c16791f35
Add ActionController::HTTP
...
More info http://edgeguides.rubyonrails.org/api_app.html
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:23 -03:00
Santiago Pastorino
bc5ac778c0
Remove unused ActionController::SessionManagement
2012-03-06 17:57:12 -02:00
Vishnu Atrai
95a935610c
remove autoload UrlWriter, no longer exists
2012-01-29 17:00:37 +05:30
José Valim
0a4035b12a
Revert the serializers API as other alternatives are now also under discussion
2011-11-25 19:29:39 +00:00
Jose and Yehuda
8ff7693a8d
Initial commit of serializer support
2011-10-15 18:40:37 +02:00
Vishnu Atrai
525fd3ac86
TODO fix explicitly loading exceptations, autoload removed
2011-07-11 13:14:02 +05:30
wycats
ddc584e89e
Restructure TemplateAssertions-related code to eliminate circular requires.
...
Also, no need to include dependencies in AS::Concerns inside included blocks.
2011-05-22 23:13:44 -07:00
Prem Sichanugrist
8c9e4d5202
Add ActionController::ParamsWrapper
to wrap parameters into a nested hash
...
This will allow us to do a rootless JSON/XML request to server.
2011-05-03 03:21:43 +07:00
José Valim
389d15ef13
Body... wanna *stream* my body? Body... such a thrill my body!
...
Added stream as class level method to make it explicit when to stream.
Render also accepts :stream as option.
2011-04-18 08:55:41 +02:00
José Valim
7a152ab012
Rename it to DataStreaming.
2011-04-18 08:17:47 +02:00
Prem Sichanugrist
7cbdfa8303
Add controller-specific force_ssl
method to force web browser to use HTTPS protocol
...
This would become useful for site which sometime transferring sensitive information such as account information on particular controller or action.
This featured was requested by DHH.
2011-03-28 04:58:47 +08:00
Emilio Tagua
71acc2737a
Move uri parser to AS as URI.parser method to reuse it in AP and ARes.
2010-09-28 11:38:35 +08:00
Emilio Tagua
2f326b7f27
Remove warning "URI.unescape is obsolete" from actionpack.
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-09-27 16:43:04 -03:00
Carlos Antonio da Silva
12db1a39cd
Partial revert of #d650b71 'Remove deprecated stuff in ActionController'
...
This brings back the deprecated modules from ActionController, because
they didn't have any deprecation warning.
2010-09-26 02:13:48 +08:00
Carlos Antonio da Silva
7fc1edd790
Remove deprecated stuff in ActionController
...
This removes all deprecated classes in ActionController related to
Routing, Abstract Request/Response and Integration/IntegrationTest.
All tests and docs were changed to ActionDispatch instead of ActionController.
2010-09-26 02:13:45 +08:00
José Valim
599e46bf24
Revert "Setup explicit requires for files with exceptions. Removed them from autoloading."
...
Booting a new Rails application does not work after this commit [#5359 state:open]
This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.
2010-09-02 21:11:03 +02:00
Łukasz Strzałkowski
38a421b34d
Setup explicit requires for files with exceptions. Removed them from autoloading.
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-02 11:54:04 +02:00
José Valim
ba52748d05
Remove deprecated support to <% form_for %> and several ActionController::Base methods.
2010-08-29 21:08:14 -03:00
Piotr Sarnacki
a63566dda8
Moved PolymorphicRoutes to ActionDispatch::Routing
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-20 23:12:46 +02:00
José Valim
ab6ff85906
No need to create a new module in the previous commit.
2010-07-19 14:50:38 +02:00
Neeraj Singh
33c5689e2d
Exceptions from views should be rescued based on the original exception. If a handler for original exception is missing then apply ActiveView::TemplateError
...
[#2034 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-19 14:50:38 +02:00
Xavier Noria
f17159b029
edit pass: the names of Rails components have a space, ie, "Active Record", not "ActiveRecord"
2010-06-14 23:22:04 +02:00
José Valim
ece157e950
Move verification to a plugin as well: http://github.com/rails/verification.git
2010-04-10 11:47:20 +02:00
Joshua Peek
7db80f87e9
Move AC::UrlRewriter onto route set
2010-03-09 20:50:35 -06:00
Carlhuda
29158d4158
Remove a failed attempt at refactoring AC configuration
2010-03-03 15:49:24 -08:00
Carl Lerche
9dae645c5f
Actually move ImplicitRender into it's own file
2010-03-03 00:43:05 -08:00
Carlhuda
36fd9efb5e
Continued effort to deglobalize the router
2010-02-25 17:53:01 -08:00
Carlhuda
226dfc2681
WIP: Remove the global router
2010-02-25 17:53:00 -08:00
José Valim
3f84091937
ActionMailer should depend just on AbstractController.
2010-01-29 17:51:05 +01:00
José Valim
31fddf2ace
Tidy up new filter_parameters implementation.
2010-01-21 11:57:24 +01:00
José Valim
6e26be6960
Move ActionController::Translation to AbstractController::Translation.
2010-01-20 15:02:13 +01:00
José Valim
8c8942ed4f
Move Dispatcher setup to Railties and add instrumentation hook.
2010-01-15 12:24:30 +01:00
José Valim
da5978c223
Add subscriber for ActionPack and move all logging inside it.
2010-01-13 01:19:23 +01:00
José Valim
f564f947d9
Remove duplicated url_for code and move methods shared between ActionMailer and ActionController up to AbstractController.
2010-01-07 15:31:50 +01:00
Joshua Peek
cf83a6f16b
Autoload AC and AV test case classes
2010-01-04 16:22:46 -06:00
José Valim
33c98b15bc
ActionController::Logger should include AbstractController::Logger and sort autoloads for easier readability.
2009-12-31 18:40:20 -08:00
José Valim
38fa0d14a8
controller_path is required by ActionView, so move it up to AbstractController and refactor AbstractController::Layouts.
2009-12-31 18:40:20 -08:00
Joshua Peek
ace20bd25e
Flip deferrable autoload convention
2009-12-22 17:27:37 -06:00
José Valim
4964d3b02c
Make ActionMailer::Base inherit from AbstractController::Base
...
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2009-12-22 11:29:06 -08:00
David Heinemeier Hansson
91ce8d8b7f
Merge branch 'master' of github.com:rails/rails
2009-12-20 18:32:35 -08:00
David Heinemeier Hansson
36c13cc07a
Rename RenderOptions to Renderers
2009-12-20 18:15:20 -08:00