aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix etag! and last_modified! to work as advertised.Michael Koziarski2008-09-301-2/+4
| | | | Add tests too.
* Check for uninitialized instance variablesJeremy Kemper2008-09-081-1/+1
|
* Use defined? check since @view_paths may be uninitializedJeremy Kemper2008-09-081-1/+5
|
* Moved layout exemption logic into the viewJoshua Peek2008-08-311-16/+2
|
* Prefix ActionView::Base private methods with an underscoreJoshua Peek2008-08-311-1/+1
|
* Fix AM tests and add tests for rendering loggingPratik Naik2008-08-311-0/+2
|
* Add lost log messages about template renderingPratik Naik2008-08-311-1/+0
|
* Move layout rendering logic to ActionView::BasePratik Naik2008-08-311-10/+17
|
* Move copying ivar logic from ActionController::Base to ActionView::BasePratik Naik2008-08-311-32/+5
|
* Remove unused use_full_path argumentPratik Naik2008-08-311-5/+5
|
* Dont pass controller partial layout option to viewPratik Naik2008-08-301-1/+1
|
* Remove double layout checkPratik Naik2008-08-301-6/+1
|
* Deprecate render_component.Pratik Naik2008-08-291-2/+6
| | | | | Please install render_component plugin from http://github.com/rails/render_component/tree/master if your application uses this functionality.
* Store application and other context specific helper modules in ↵Joshua Peek2008-08-261-1/+1
| | | | ActionView::Base#helpers