Genadi Samokovarov
6329d9fa8b
Remove deprecated cattr_* requires
2013-12-03 00:28:15 +02:00
José Valim
1385ae138d
Remove BasicRendering tests
2013-09-09 16:10:41 -03:00
Łukasz Strzałkowski
c40c362ec1
Load HTML in ActionView not ActionPack
...
HTML Scanner is part of ActionView and it should be loaded along with it
2013-08-25 11:40:10 +02:00
Łukasz Strzałkowski
aa2d003812
Fist stab on basic rendering
2013-08-25 11:39:13 +02:00
Łukasz Strzałkowski
6c7d895dda
Do not load AV inside AP
...
Move that part to AV railtie
2013-08-25 11:39:12 +02:00
Carlos Antonio da Silva
b990921f05
Remove deprecated constants autoload
...
These constants were removed in 4b97ce5eb16cc20207516387fba98bf577e2e281,
but I forgot to remove the autoload calls ✨ .
2013-07-02 22:53:37 -03:00
kennyj
d8c6f52d3b
Remove ActionController::RecordIdentifier was deprecated.
2013-06-01 23:22:12 +09:00
Yves Senn
3e1ed7818b
extract PerformanceTest into rails-performance_tests gem
2013-01-10 17:09:06 +01:00
Guillermo Iguaran
1aaf4490b2
Add config.action_controller.permit_all_attributes to bypass StrongParameters protection
2012-09-16 23:58:21 -05:00
Guillermo Iguaran
885005461b
Integrate ActionController::Parameters from StrongParameters gem
2012-09-16 23:58:19 -05:00
Dmitry Vorotilin
3a6e8e464c
Sprockets-rails tests fail
...
Method invalid_asset_host! was delegated to controller but sprockets
compile assets in their own scope without controller. And if we set asset_host
with second parameter it should raise error through invalid_asset_host!.
But since controller is nil it cannot be reached.
2012-09-01 16:22:40 +04:00
Piotr Sarnacki
dc663dd52c
Don't require action_dispatch in ActionView::UrlHelpers
...
ActionDispatch::Routing::UrlFor was always required in UrlHelpers. This
was changed by splitting previous implementation of UrlHelper into 2
modules: ActionView::Helpers::UrlHelper and
ActionView::Routing::UrlHelper. The former one keeps only basic
implementation of url_for. The latter adds features that allow to use
routes and is only required when url_helpers or mounted_helpers are
required.
2012-08-28 11:19:29 +02:00
Piotr Sarnacki
ba83aa7f03
Move action_controller/vendor/html-scanner to action_view
...
This is another step in moving Action View's dependencies in Action Pack
to Action View itself. Also, HtmlScanner seems to be better suited for
views rather than controllers.
2012-08-28 10:51:03 +02:00
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