Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Do not stream on HTTP/1.0. | José Valim | 2011-04-19 | 1 | -3/+7 | |
| | ||||||
* | Do not inherit from Rack::Response, remove a shit-ton of unused code. | José Valim | 2011-04-19 | 1 | -0/+11 | |
| | ||||||
* | Body... wanna *stream* my body? Body... such a thrill my body! | José Valim | 2011-04-18 | 1 | -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é Valim | 2011-04-18 | 1 | -1/+1 | |
| | ||||||
* | Add missing dependency. | José Valim | 2011-04-18 | 1 | -0/+2 | |
| | ||||||
* | Slightly reorganize rendering stack. | José Valim | 2011-04-18 | 1 | -3/+3 | |
| | ||||||
* | removes the RJS template handler | Xavier Noria | 2011-04-13 | 1 | -4/+4 | |
| | ||||||
* | removes support for render :update | Xavier Noria | 2011-04-13 | 1 | -8/+1 | |
| | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-04-12 | 1 | -2/+2 | |
|\ | ||||||
| * | removed :nodoc: from ActionController::MimeResponds | Jo Liss | 2011-04-10 | 1 | -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 places | Prem Sichanugrist | 2011-04-11 | 1 | -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/docrails | Xavier Noria | 2011-04-03 | 2 | -1/+4 | |
|\ | ||||||
| * | Trivial fix to HTTP Digest auth MD5 example | Jon Cooper | 2011-03-31 | 1 | -1/+1 | |
| | | ||||||
| * | Explain in the method doc that you need to call respond_to at the class ↵ | Amaia Castro | 2011-03-31 | 1 | -0/+3 | |
| | | | | | | | | level in order to use respond_with. | |||||
* | | Improve docs. | José Valim | 2011-03-31 | 1 | -0/+31 | |
| | | ||||||
* | | pass respond_with options to controller render when using a template for api ↵ | Josh Kalderimis | 2011-03-31 | 3 | -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 Kalderimis | 2011-03-31 | 1 | -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 Kalderimis | 2011-03-31 | 1 | -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é Valim | 2011-03-30 | 1 | -4/+2 | |
| | | ||||||
* | | Pass the proper method_name instead of hardcoding to action_name. | José Valim | 2011-03-29 | 1 | -8/+10 | |
| | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/implicit_render.rb | |||||
* | | Dont call authenticate_or_request_with_http_basic twice | David Heinemeier Hansson | 2011-03-29 | 1 | -4/+2 | |
| | | ||||||
* | | Fix examples | David Heinemeier Hansson | 2011-03-28 | 1 | -1/+1 | |
| | | ||||||
* | | Added Base.http_basic_authenticate_with to do simple http basic ↵ | David Heinemeier Hansson | 2011-03-28 | 1 | -14/+16 | |
|/ | | | | authentication with a single class method call [DHH] | |||||
* | Add controller-specific `force_ssl` method to force web browser to use HTTPS ↵ | Prem Sichanugrist | 2011-03-28 | 1 | -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. Lechow | 2011-03-05 | 1 | -1/+1 | |
| | ||||||
* | Prepend the CSRF filter to make it much more difficult to execute ↵ | Michael Koziarski | 2011-02-23 | 1 | -1/+1 | |
| | | | | application code before it fires. | |||||
* | merges docrails | Xavier Noria | 2011-02-18 | 1 | -0/+37 | |
|\ | ||||||
| * | add some docs for ActionController::Renderers | Gabriel Horner | 2011-02-10 | 1 | -0/+37 | |
| | | ||||||
* | | Remove misleading reference to polymorphic_url. | José Valim | 2011-02-11 | 1 | -2/+0 | |
| | | ||||||
* | | Change the CSRF whitelisting to only apply to get requests | Michael Koziarski | 2011-02-08 | 1 | -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é Valim | 2011-02-08 | 1 | -1/+1 | |
|/ | ||||||
* | No need to symbolize these. | José Valim | 2010-12-27 | 1 | -2/+2 | |
| | ||||||
* | #948 template_inheritance | artemave | 2010-12-26 | 1 | -2/+2 | |
| | ||||||
* | Fix respond_with example code so it makes sense | Will | 2010-12-19 | 1 | -2/+2 | |
| | ||||||
* | Correct deprecated AR usage in ActionController::MimeResponds documentation | Will | 2010-12-19 | 1 | -4/+4 | |
| | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-11-27 | 1 | -3/+7 | |
|\ | ||||||
| * | Add explicit statement that verify_authenticity_token can be turned off for ↵ | Ryan Bigg | 2010-11-27 | 1 | -3/+7 | |
| | | | | | | | | actions. | |||||
* | | implicit self here | Santiago Pastorino | 2010-11-25 | 1 | -1/+1 | |
| | | ||||||
* | | move the setting up of the mime collector into the collector on init | Josh Kalderimis | 2010-11-25 | 1 | -3/+3 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | If a user wants json output then try best to render json output. In such ↵ | Neeraj Singh | 2010-11-24 | 1 | -1/+1 | |
|/ | | | | | | | | cases prefer kind_of(String) over respond_to?(to_str) [#5841 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | :subdomain, :domain and :tld_length options can now be used in url_for, ↵ | Josh Kalderimis | 2010-11-23 | 1 | -1/+3 | |
| | | | | | | allowing for easy manipulation of the host during link generation. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Remove unused constant | Santiago Pastorino | 2010-11-22 | 1 | -2/+0 | |
| | ||||||
* | There's no need for ternary op here | Santiago Pastorino | 2010-11-22 | 1 | -1/+1 | |
| | ||||||
* | Remove unneeded metaprogramming and method generation in favor of direct ↵ | Santiago Pastorino | 2010-11-22 | 1 | -24/+10 | |
| | | | | definition | |||||
* | Fix indentation | Santiago Pastorino | 2010-11-20 | 1 | -24/+23 | |
| | ||||||
* | Add config.action_controller.include_all_helpers, by default it is set to true. | Piotr Sarnacki | 2010-11-18 | 1 | -1/+2 | |
| | | | | | | | In older rails versions there was a way to use only helpers from helper file corresponding to current controller and you could also include all helpers by saying 'helper :all' in controller. This config allows to return to older behavior by setting it to false. | |||||
* | Move @assigns from the controller to the test itself | Santiago Pastorino | 2010-11-06 | 1 | -1/+0 | |
| | ||||||
* | Fix problems trying to functional test AC::Metal controllers | Santiago Pastorino | 2010-11-06 | 1 | -9/+1 | |
| | | | | [#5393 state:committed] | |||||
* | Correctly handle the case of an API response that returns a hash by treating ↵ | Chris Eppstein | 2010-11-06 | 1 | -1/+1 | |
| | | | | a single hash argument as the resource instead of as options. | |||||
* | replace if ! with unless | Neeraj Singh | 2010-10-17 | 1 | -1/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> |