Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | updated instructions to generate the migration for the ActiveRecord session ↵ | Diego Carrion | 2010-09-18 | 1 | -1/+1 |
| | | | | store table | ||||
* | added block arguments to ActionController::Metal#use | Collin Miller | 2010-09-12 | 1 | -3/+3 |
| | | | | | | | | | | | Useful for cases such as warden, where a block configuration is taken. class SomeController < ApplicationController use RailsWarden::Manager do |manager| manager.default_strategies :facebook_oauth manager.failure_app = SomeController.action(:authorize) end end | ||||
* | 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 | ||||
* | Merge remote branch 'drogus/engines' | wycats | 2010-09-11 | 1 | -1/+1 |
|\ | |||||
| * | Do not require passing :app to mounted helpers, it's actually useless and ↵ | Piotr Sarnacki | 2010-09-08 | 1 | -1/+1 |
| | | | | | | | | not DRY | ||||
* | | Adding linkage to redirect_to from Base and adding status code option reference | Mikel Lindsaar | 2010-09-09 | 2 | -2/+6 |
|/ | |||||
* | Cleanup deprecation warnings in Action Controller | Carlos Antonio da Silva | 2010-09-06 | 4 | -64/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Forgot to move that line to railtie on rebase | Piotr Sarnacki | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | Include all helpers from non-namespaced engines | Piotr Sarnacki | 2010-09-03 | 1 | -9/+3 |
| | |||||
* | Set only helpers_path on inherited hook in action_controller/railtie.rb and ↵ | Piotr Sarnacki | 2010-09-03 | 3 | -9/+11 |
| | | | | use helper(:all) just after that | ||||
* | Moved ActionMailer and ActionController railties options to inherited hook | Piotr Sarnacki | 2010-09-03 | 3 | -16/+32 |
| | | | | | | | | | | | This change is needed, because we must take namespace into account and if controller's/mailer's class is namespaced, engine's paths should be set instead of application's ones. The nice side effect of this is removing unneeded logic in ActionController::Base.inherited - now the helpers_path should be set correctly even for engine's controllers, so helper(:all) will always include correct helpers. | ||||
* | Refactor ActionMailer to not use hide_actions | Piotr Sarnacki | 2010-09-03 | 1 | -14/+1 |
| | |||||
* | Move ActionController::Railties::RoutesHelpers and ↵ | Piotr Sarnacki | 2010-09-03 | 2 | -19/+2 |
| | | | | ActionMailer::Railties::RoutesHelper to AbstractController::Railties::RoutesHelpers | ||||
* | 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 | 4 | -4/+30 |
| | | | | engine's ones for controllers inside isolated namespace | ||||
* | This is not needed | Piotr Sarnacki | 2010-09-03 | 1 | -26/+0 |
| | |||||
* | Add mounted_helpers to routes | Piotr Sarnacki | 2010-09-03 | 2 | -1/+28 |
| | | | | | | | | | | | | | | | | mounted_helpers are a bit similar to url_helpers. They're automatically included in controllers for Rails.application and each of mounted Engines. Mounted helper allows to call url_for and named helpers for given application. Given Blog::Engine mounted as blog_engine, there are 2 helpers defined: app and blog_engine. You can call routes for app and engine using those helpers: app.root_url app.url_for(:controller => "foo") blog_engine.posts_path blog_engine.url_for(@post) | ||||
* | Ensure that env is always available in controllers | Piotr Sarnacki | 2010-09-03 | 2 | -2/+6 |
| | |||||
* | 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> | ||||
* | Use join instead of looping and calling to_s [#5492 state:resolved] | Thiago Pradi | 2010-09-01 | 1 | -3/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove deprecated support to <% form_for %> and several ↵ | José Valim | 2010-08-29 | 5 | -171/+12 |
| | | | | ActionController::Base methods. | ||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-08-28 | 11 | -108/+89 |
|\ | |||||
| * | Revert "call-seq directive makes rdoc cry and replaces method names with a ↵ | Xavier Noria | 2010-08-27 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | curly brace; besides it doesn't add anything when you only list one call example since this is obviously documented already" Reason: Part of this commit touches vendorized stuff, the rest is fine, could you please repatch? This reverts commit 60de0e56b7f57f0052d7e4f43bd2ef9e363c6a1a. | ||||
| * | call-seq directive makes rdoc cry and replaces method names with a curly ↵ | Joost Baaij | 2010-08-27 | 1 | -15/+0 |
| | | | | | | | | brace; besides it doesn't add anything when you only list one call example since this is obviously documented already | ||||
| * | escape constant names | Joost Baaij | 2010-08-26 | 2 | -9/+9 |
| | | |||||
| * | 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 | 5 | -51/+50 |
| | | |||||
| * | Escape 'caching' when used in a sentence; remove unnessesary quotes | Joost Baaij | 2010-08-26 | 3 | -12/+12 |
| | | |||||
* | | Be sure to call helper :all just on direct children. (Tests by Jesse Storimer) | José Valim | 2010-08-26 | 1 | -1/+1 |
|/ | |||||
* | Restored top-level documentation for ActionController::Base. | Joost Baaij | 2010-08-25 | 1 | -0/+163 |
| | | | | | | | | | This information was lost in commit bd6b61be88dfe6eb1ff1dcc5c17542d804a842c7. This might have been intentional, but this class does represent the starting point for all things related to actions, and as such should document it. I couldn't find any trace of this documentation, which seems like a waste. Updated parts here and there to conform to current best practices. | ||||
* | Reset symbolized path parameters when a test request is recycled [#5437 ↵ | Andrew White | 2010-08-24 | 1 | -0/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | 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 | 8 | -69/+69 |
| | | | | '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> | ||||
* | Change returning with tap | Santiago Pastorino | 2010-07-25 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Clean up AM and AC railties. | José Valim | 2010-07-24 | 2 | -33/+14 |
| | |||||
* | Also move asset_path to AbstractController. | José Valim | 2010-07-24 | 1 | -1/+0 |
| | |||||
* | Move config_accessor :asset_host from ActionController::Base to ↵ | Jeroen van Dijk and Josh Kalderimis | 2010-07-24 | 1 | -1/+1 |
| | | | | | | | | AbstractController which fixes issues with asset_host in ActionMailer Including: - Moved mailer objects in separate directory - Added two tests for asset_host configuration option | ||||
* | No need to delegate. Simply include the whole RecordIdentifier module. | José Valim | 2010-07-21 | 1 | -0/+2 |
| | |||||
* | Moved a few methods from RecordIdentifier to ActiveModel::Naming | Piotr Sarnacki | 2010-07-21 | 1 | -30/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Moved PolymorphicRoutes to ActionDispatch::Routing | Piotr Sarnacki | 2010-07-20 | 2 | -184/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add a test for elapsed and require missing benchmark file. | José Valim | 2010-07-20 | 1 | -0/+1 |
| | |||||
* | Add missing require to metal/streaming.rb | José Valim | 2010-07-20 | 1 | -0/+2 |
| | |||||
* | Remove unused orig_handler and unneeded parentheses | Santiago Pastorino | 2010-07-20 | 1 | -3/+3 |
| | |||||
* | There is absolutely no need to use __send__ here. | José Valim | 2010-07-19 | 1 | -3/+3 |
| |