aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal
Commit message (Collapse)AuthorAgeFilesLines
* Get around weird missing constant error caused by AS instead of simply ↵José Valim2011-05-111-5/+13
| | | | raising NameError, closes #477.
* Warn if we cannot verify CSRF token authenticityJosé Valim2011-05-091-1/+4
|
* Use .ref instead of .to_sym.José Valim2011-05-071-1/+1
|
* Revert to old semantics, use available_action? instead of action_method?.José Valim2011-05-061-9/+7
|
* More updates to ivars list.José Valim2011-05-061-2/+4
|
* Move variables to underscore format, update protected instance variables list.José Valim2011-05-061-7/+2
|
* Ensure params wrapper settings are not inherited and calculated each time.José Valim2011-05-061-1/+1
|
* Update respond_with docs to deal better with collections.José Valim2011-05-051-1/+6
|
* More performance optimizations.José Valim2011-05-031-13/+17
|
* Improve performance for filtered parameters and add tests.José Valim2011-05-032-4/+3
|
* Move most processing to load time for performance and improve test suite.José Valim2011-05-031-25/+49
|
* Update CHANGELOG.José Valim2011-05-031-1/+1
|
* Fix ParamsWrapper docs errorsSebastian Martinez2011-05-021-2/+2
|
* Merge pull request #359 from sikachu/params_wrapper.David Heinemeier Hansson2011-05-021-0/+197
|\ | | | | Add `ActionController::ParamsWrapper` to wrap JSON parameters into a nested parameters.
| * Add `ActionController::ParamsWrapper` to wrap parameters into a nested hashPrem Sichanugrist2011-05-031-0/+197
| | | | | | This will allow us to do a rootless JSON/XML request to server.
* | made a copy-edit pass on the streaming RDocXavier Noria2011-05-021-33/+35
|/
* Streaming docs.José Valim2011-05-011-1/+201
|
* Introduce view renderer.José Valim2011-05-011-1/+1
|
* Make ActionController::Base.modules_for_helpers and ↵Piotr Sarnacki2011-04-251-26/+26
| | | | ActionController::Base.all_helpers_from_path public methods
* Do not stream on HTTP/1.0.José Valim2011-04-191-3/+7
|
* Do not inherit from Rack::Response, remove a shit-ton of unused code.José Valim2011-04-191-0/+11
|
* Body... wanna *stream* my body? Body... such a thrill my body!José Valim2011-04-181-0/+57
| | | | | Added stream as class level method to make it explicit when to stream. Render also accepts :stream as option.
* Rename it to DataStreaming.José Valim2011-04-181-1/+1
|
* Add missing dependency.José Valim2011-04-181-0/+2
|
* Slightly reorganize rendering stack.José Valim2011-04-181-3/+3
|
* removes the RJS template handlerXavier Noria2011-04-131-4/+4
|
* removes support for render :updateXavier Noria2011-04-131-8/+1
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-121-2/+2
|\
| * removed :nodoc: from ActionController::MimeRespondsJo Liss2011-04-101-2/+2
| | | | | | | | | | So we don't miss out on the nice documentation of the respond_to and respond_with instance methods. Also added :nodoc: to protected method.
* | Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-111-2/+3
|/ | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-032-1/+4
|\
| * Trivial fix to HTTP Digest auth MD5 exampleJon Cooper2011-03-311-1/+1
| |
| * Explain in the method doc that you need to call respond_to at the class ↵Amaia Castro2011-03-311-0/+3
| | | | | | | | level in order to use respond_with.
* | Improve docs.José Valim2011-03-311-0/+31
| |
* | pass respond_with options to controller render when using a template for api ↵Josh Kalderimis2011-03-313-5/+5
| | | | | | | | | | | | navigation Signed-off-by: José Valim <jose.valim@gmail.com>
* | only try to display an api template in responders if the request is a get or ↵Josh Kalderimis2011-03-311-4/+9
| | | | | | | | | | | | there are no errors Signed-off-by: José Valim <jose.valim@gmail.com>
* | when using respond_with with an invalid resource and custom options, the ↵Josh Kalderimis2011-03-311-1/+2
| | | | | | | | | | | | default response status and error messages should be returned Signed-off-by: José Valim <jose.valim@gmail.com>
* | Make action_method? public and change implicit rendering to override it instead.José Valim2011-03-301-4/+2
| |
* | Pass the proper method_name instead of hardcoding to action_name.José Valim2011-03-291-8/+10
| | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/implicit_render.rb
* | Dont call authenticate_or_request_with_http_basic twiceDavid Heinemeier Hansson2011-03-291-4/+2
| |
* | Fix examplesDavid Heinemeier Hansson2011-03-281-1/+1
| |
* | Added Base.http_basic_authenticate_with to do simple http basic ↵David Heinemeier Hansson2011-03-281-14/+16
|/ | | | authentication with a single class method call [DHH]
* Add controller-specific `force_ssl` method to force web browser to use HTTPS ↵Prem Sichanugrist2011-03-281-0/+35
| | | | | | | | 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.
* Action Pack typos.R.T. Lechow2011-03-051-1/+1
|
* Prepend the CSRF filter to make it much more difficult to execute ↵Michael Koziarski2011-02-231-1/+1
| | | | application code before it fires.
* merges docrailsXavier Noria2011-02-181-0/+37
|\
| * add some docs for ActionController::RenderersGabriel Horner2011-02-101-0/+37
| |
* | Remove misleading reference to polymorphic_url.José Valim2011-02-111-2/+0
| |
* | Change the CSRF whitelisting to only apply to get requestsMichael Koziarski2011-02-081-10/+9
| | | | | | | | | | | | | | | | Unfortunately the previous method of browser detection and XHR whitelisting is unable to prevent requests issued from some Flash animations and Java applets. To ease the work required to include the CSRF token in ajax requests rails now supports providing the token in a custom http header: X-CSRF-Token: ... This fixes CVE-2011-0447
* | Use Mime::Type references.José Valim2011-02-081-1/+1
|/