aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal
Commit message (Collapse)AuthorAgeFilesLines
* Use anonymous? that works on both Ruby 1.8 and 1.9.José Valim2011-05-171-2/+3
|
* add more robust test for wrapping params with anonymous classDavid Chelimsky2011-05-171-2/+1
|
* Add fix for error when an anonymous controller subclasses ApplicationControllerAndy Lindeman2011-05-171-1/+4
|
* Make ParamsWrapper calling newly introduced `Model.attribute_names` instead ↵Prem Sichanugrist2011-05-151-3/+3
| | | | of `.column_names`
* Do not try to call `column_names` on the abstract class.Prem Sichanugrist2011-05-151-1/+1
| | | Normally the table for abstract class won't be existed, so we should not trying to call `#column_names` on it.
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-141-0/+21
|\ | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/date_helper.rb railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
| * minor edits after going through what's new in docrailsXavier Noria2011-05-141-4/+7
| |
| * added an example for AC::UrlFor usage to make usage simpler.Nick Sutterer2011-05-121-1/+13
| |
| * added docs for AbC::UrlFor and AC::UrlFor.Nick Sutterer2011-05-121-0/+6
| |
* | 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
| |