Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-14 | 1 | -1/+1 |
|\ | |||||
| * | Fix small typo in documentation | Krekoten' Marjan | 2010-10-12 | 1 | -1/+1 |
| | | |||||
* | | Return a valid empty JSON on successful PUT and DELETE requests. [#5199 ↵ | Szymon Nowak | 2010-10-12 | 1 | -0/+20 |
|/ | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rendering doesn't need RackDelegation | wycats | 2010-10-10 | 1 | -1/+0 |
| | |||||
* | Fix a few bugs when trying to use Head standalone | wycats | 2010-10-10 | 1 | -4/+2 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-06 | 1 | -4/+0 |
|\ | |||||
| * | `render :text => proc { ... }` is no longer supported. | John Firebaugh | 2010-10-04 | 1 | -4/+0 |
| | | |||||
* | | reduce function calls on Array | Aaron Patterson | 2010-09-29 | 1 | -3/+2 |
| | | |||||
* | | removing more lolinject | Aaron Patterson | 2010-09-29 | 1 | -8/+7 |
| | | |||||
* | | removing lollerject | Aaron Patterson | 2010-09-29 | 1 | -1/+1 |
|/ | |||||
* | renderer calls object.to_json when rendering :json => object [#5655 ↵ | Diego Carrion | 2010-09-27 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove more warnings shadowing outer local variable. | Emilio Tagua | 2010-09-27 | 1 | -3/+3 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Do not cache the script name outcome. | José Valim | 2010-09-27 | 1 | -9/+11 |
| | |||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-27 | 1 | -3/+3 |
|\ | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb | ||||
| * | Initialize @_routes if not defined yet, avoiding more warnings. | Emilio Tagua | 2010-09-27 | 1 | -0/+1 |
| | | |||||
| * | Remove more warnings shadowing outer local variable. | Emilio Tagua | 2010-09-27 | 1 | -3/+3 |
| | | |||||
* | | Cache url_options on a per-request basis. | thedarkone | 2010-09-27 | 1 | -9/+11 |
|/ | |||||
* | Remove deprecated stuff in ActionController | Carlos Antonio da Silva | 2010-09-26 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | There is no need to use instance_eval since the proc is created in the same ↵ | José Valim | 2010-09-24 | 1 | -1/+1 |
| | | | | context it is eval'ed. | ||||
* | Make redirect_to accept blocks [#5643 state:resolved] | Nando Vieira | 2010-09-24 | 1 | -1/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Refactor decode_credentials to avoid inject and use map instead. | Emilio Tagua | 2010-09-22 | 1 | -6/+5 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Fix header capitalization by explicitly upcasing first letter of every word, ↵ | Maxim Chernyak | 2010-09-18 | 1 | -1/+1 |
| | | | | and avoiding capitalize. [#5636 state:resolved] | ||||
* | Small tweak the ConditionalGet documentation | Carl Lerche | 2010-09-17 | 1 | -2/+2 |
| | | | Time#utc does not need to be called when passing the object to :last_modified since it is called internally to Rails. | ||||
* | revises implementation and documentation of csrf_meta_tags, and aliases ↵ | Xavier Noria | 2010-09-11 | 1 | -2/+2 |
| | | | | csrf_meta_tag to it for backwards compatibilty | ||||
* | Adding linkage to redirect_to from Base and adding status code option reference | Mikel Lindsaar | 2010-09-09 | 1 | -2/+4 |
| | |||||
* | Cleanup deprecation warnings in Action Controller | Carlos Antonio da Silva | 2010-09-06 | 3 | -32/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Refactor ActionMailer to not use hide_actions | Piotr Sarnacki | 2010-09-03 | 1 | -14/+1 |
| | |||||
* | Fix generating urls with mounted helpers in view context | Piotr Sarnacki | 2010-09-03 | 1 | -1/+1 |
| | | | | | | | | | | There were actually 2 problems with this one: * script_name was added to options as a string and then it was used in RouteSet#url_for with usage of <<, which was changing the original script_name * the second issue was with _with_routes method. It was called in RoutesProxy to modify _routes in view_context, but url_helpers in views is just delegating it to controller, so another _with_routes call is needed there | ||||
* | Include application's helpers and router helpers by default, but include ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -1/+5 |
| | | | | engine's ones for controllers inside isolated namespace | ||||
* | Ensure that env is always available in controllers | Piotr Sarnacki | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | Added some more tests for url generation between Engine and Application | Piotr Sarnacki | 2010-09-03 | 1 | -4/+4 |
| | |||||
* | Get rid of :skip_prefix options in routes | Piotr Sarnacki | 2010-09-03 | 1 | -8/+4 |
| | |||||
* | New way of generating urls for Application from Engine. | Piotr Sarnacki | 2010-09-03 | 1 | -2/+11 |
| | | | | | | | | | It's based specifying application's script_name with: Rails.application.default_url_options = {:script_name => "/foo"} default_url_options method is delegated to routes. If router used to generate url differs from the router passed via env it always overwrites :script_name with this value. | ||||
* | Revert "Setup explicit requires for files with exceptions. Removed them from ↵ | José Valim | 2010-09-02 | 4 | -6/+0 |
| | | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6. | ||||
* | Setup explicit requires for files with exceptions. Removed them from ↵ | Łukasz Strzałkowski | 2010-09-02 | 4 | -0/+6 |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove deprecated support to <% form_for %> and several ↵ | José Valim | 2010-08-29 | 1 | -6/+10 |
| | | | | ActionController::Base methods. | ||||
* | escape constant names | Joost Baaij | 2010-08-26 | 1 | -5/+5 |
| | |||||
* | Reflect how CSRF protection now works and refer to the Security Guide for ↵ | Joost Baaij | 2010-08-26 | 1 | -36/+18 |
| | | | | more information | ||||
* | cleanup of ActionController::Metal inline documentation | Joost Baaij | 2010-08-26 | 4 | -36/+37 |
| | |||||
* | Use attribute readers as they are faster in general. | José Valim | 2010-08-19 | 1 | -8/+2 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -2/+2 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | API Docs: Use 'HTTP_AUTHORIZATION' and not :authorize as key in integration ↵ | Rohit Arondekar | 2010-07-30 | 1 | -1/+1 |
| | | | | tests. | ||||
* | doc: cleanup respond_to documentation | Wincent Colaiuta | 2010-07-26 | 1 | -9/+12 |
| | | | | Signed-off-by: Wincent Colaiuta <win@wincent.com> | ||||
* | Add a test for elapsed and require missing benchmark file. | José Valim | 2010-07-20 | 1 | -0/+1 |
| |