aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Memoize request accessors on the Rack env so other request objects have ↵Joshua Peek2009-01-041-2/+2
| | | | access to the same cache [#1668 state:resolved]
* Test that exceptions raised in filters are properly rescuedJeremy Kemper2008-12-301-4/+7
|
* Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-291-6/+6
| | | | and Template::EagerPath
* Make router and controller classes better rack citizensJoshua Peek2008-12-281-0/+7
|
* Don't recurse when ActionController#render is called without any argumentsPratik Naik2008-12-261-1/+1
|
* Make ActionController#render(symbol) behave same as ↵Pratik Naik2008-12-261-5/+5
| | | | ActionController#render(string) [#1435]
* Make ActionController#render(string) work as a shortcut for render :action ↵Pratik Naik2008-12-251-1/+3
| | | | | | | | | | => string. [#1435] Examples: # Instead of render(:action => 'other_action') render('other_action') Note : Argument must not have any '/'
* Make ActionController#render(string) work as a shortcut for render :template ↵Pratik Naik2008-12-251-1/+3
| | | | | | | | | | => string. [#1435] Examples: # Instead of render(:template => 'controller/action') render('controller/action') Note : Argument must not begin with a '/', but have at least one '/'
* Make ActionController#render(string) work as a shortcut for render :file => ↵Pratik Naik2008-12-251-1/+8
| | | | | | | | | | string. [#1435] Examples: # Instead of render(:file => '/Users/lifo/home.html.erb') render('/Users/lifo/home.html.erb') Note : Filename must begin with a forward slash ('/')
* Move ActionController::Base#render arguments validation to a separate methodPratik Naik2008-12-251-8/+14
|
* Ensure the template format is always passed to the template finder. Now we ↵Joshua Peek2008-12-211-12/+18
| | | | can cleanup some nasty stuff.
* Switch to Rack::Response#set_cookie instead of using CGI::Cookie to build ↵Joshua Peek2008-12-201-2/+2
| | | | cookie headers
* Use status response accessor instead of the 'Status' headerJoshua Peek2008-12-191-2/+2
|
* Remove CGI::Session memory leak patchJoshua Peek2008-12-161-5/+0
|
* Switch to Rack based session stores.Joshua Peek2008-12-151-10/+2
|
* Fixed session related memory leak [#1558 state:resolved]Frederick Cheung2008-12-111-0/+3
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Making the IP Spoofing check in AbstractRequest#remote_ip configurable.Darren Boyd2008-12-011-0/+4
| | | | | | | | | | | | | | Certain groups of web proxies do not set these values properly. Notably, proxies for cell phones, which often do not set the remote IP information correctly (not surprisingly, since the clients do not have an IP address). Allowing this to be configurable makes it possible for developers to choose to ignore this simple spoofing check, when a significant amount of their traffic would result in false positives anyway. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1200 state:committed]
* Reinstate "Super lazy load view paths in development mode (no indexing or ↵Joshua Peek2008-11-281-2/+3
| | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading."
* Revert "Super lazy load view paths in development mode (no indexing or ↵David Heinemeier Hansson2008-11-271-3/+2
| | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading. This reverts commit 4d910b033379727e5e7355590c50c72fc75e56db.
* Super lazy load view paths in development mode (no indexing or caching at ↵Joshua Peek2008-11-261-2/+3
| | | | all). Switch layout finders to use view path api to take advantage of cache.
* Ensure ActionView will be available to ActionMailer if ActionController is ↵Joshua Peek2008-11-251-1/+0
| | | | not loaded
* Drop unneeded drb requireJeremy Kemper2008-11-231-1/+0
|
* Use autoload instead of explicit requires for ActionControllerJoshua Peek2008-11-231-7/+7
|
* Revert "Simplify benchmarking and rescue". Need a different approach.Pratik Naik2008-11-201-15/+1
| | | | This reverts commit 3be9134d1cb882f4be3be8d57b2f8bde5ecde887.
* Simplify benchmarking and rescuePratik Naik2008-11-201-1/+15
|
* Remove deprecated ActionController::Base#assign_default_content_type_and_charsetPratik Naik2008-11-191-5/+0
|
* Remove deprecated render_component. Please use the plugin from ↵Pratik Naik2008-11-191-1/+1
| | | | http://github.com/rails/render_component/tree/master
* Merge docrails.Pratik Naik2008-11-141-3/+3
|
* Dont bother logging the parameters hash if there are no parametersDavid Heinemeier Hansson2008-11-061-1/+1
|
* Dont log the _method attribute either. Its already available in the headerDavid Heinemeier Hansson2008-11-041-13/+4
|\
| * Remove unused debug_routesPratik Naik2008-11-021-6/+0
| |
| * Dont dup params twice when filter_parameters is presentPratik Naik2008-11-021-2/+2
| |
| * Dont document internalsPratik Naik2008-11-021-3/+0
| |
| * Backwards compatibility fixes for relative_url_rootMichael Koziarski2008-11-021-5/+2
| | | | | | | | | | * Make the old deprecated relative_url_root still set the value as it's still used by mongrel * Set the default from the ENV value when the file is required, not at runtime.
| * Merge with docrailsPratik Naik2008-11-021-0/+3
| |
* | Dont log the _method attribute either. Its already available in the headerDavid Heinemeier Hansson2008-11-041-2/+2
|/
* Simplified the logging format for parameters (don't include controller, ↵David Heinemeier Hansson2008-11-011-6/+23
| | | | action, and format as duplicates) [DHH]
* Make sure habtm use class variable to list association valid keysLuca Guidi2008-11-011-1/+2
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1310 state:committed]
* Remove the logging of the Session ID when the session store is CookieStore [DHH]David Heinemeier Hansson2008-11-011-1/+5
|
* Accidently nixed a doc headerDavid Heinemeier Hansson2008-11-011-0/+1
|
* Added render :js for people who want to render inline JavaScript replies ↵David Heinemeier Hansson2008-11-011-1/+23
| | | | without using RJS [DHH]
* Ensure content type gets reset after render_to_string [#1182 state:resolved]Joshua Peek2008-10-301-0/+1
|
* Fixed regex in redirect_to to fully support URI schemes [#1247 state:committed]Seth Fitzsimmons2008-10-301-1/+4
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* No use case handy for justifying fresh? any moreDavid Heinemeier Hansson2008-10-211-5/+0
|
* Let fresh_when actually do the head(:not_modified). Cleaner and we get the ↵David Heinemeier Hansson2008-10-211-10/+8
| | | | filter halting for free then.
* Added stale?/fresh? and fresh_when methods to provide a layer of abstraction ↵David Heinemeier Hansson2008-10-211-17/+53
| | | | above request.fresh? and friends [DHH]
* Make sure last_modified! works with <= rather than just equality.Michael Koziarski2008-10-071-1/+3
|
* Merge docrailsPratik Naik2008-10-051-4/+12
|
* Return processing lock to dispatcher, the finer grained lock was ↵Aliaksey Kandratsenka2008-10-041-8/+1
| | | | | | | | | | incompatible with the reloading in development mode. This commit also adds ActionController::Dispatcher#dispatch_unlocking -- non-locking version of dispatch. It's named anologously to POSIX {getc,getchar,...}_unlocked functions. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1170 state:committed]
* Call controller_path instance method so it can be easily overridden [#1141 ↵David Masover2008-09-301-2/+2
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>