aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Fixed error handling of broken layouts #1115 [Michael Schubert]David Heinemeier Hansson2005-04-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed render_partial to take local assigns as the second parameter instead ↵David Heinemeier Hansson2005-04-161-5/+5
| | | | | | of an explicit object and then the assigns git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed pagination to work with joins #1034 [scott@sigkill.org]David Heinemeier Hansson2005-04-131-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that *rest parameter in map.connect couldn't accept an empty list ↵David Heinemeier Hansson2005-04-131-1/+5
| | | | | | #1037 [Dee.Zsombor@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that an exception would be thrown when an empty form was submitted ↵David Heinemeier Hansson2005-04-131-1/+1
| | | | | | #1090 [jan@ulbrich-boerwang.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed #1030David Heinemeier Hansson2005-04-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the content-type for some browsers could include an additional \r ↵David Heinemeier Hansson2005-04-101-1/+1
| | | | | | which made wonky things happen #1067 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that in some circumstances controllers outside of modules may have ↵David Heinemeier Hansson2005-04-101-1/+1
| | | | | | hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Cache#expire_matched_fragments that couldn't recognize the difference ↵David Heinemeier Hansson2005-04-071-13/+24
| | | | | | between string and url_for options #1030 [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added simulation of @request.request_uri in functional tests #1038 [Jamis Buck]David Heinemeier Hansson2005-04-071-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that benchmarking times for rendering included db runtimes #987 ↵David Heinemeier Hansson2005-04-021-4/+10
| | | | | | [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed broken attempt to DRY module ClassMethod #970David Heinemeier Hansson2005-04-022-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Automatically extend the class which gets a module included with the ↵David Heinemeier Hansson2005-04-022-10/+0
| | | | | | ClassMethods module if it exists #970 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net]David Heinemeier Hansson2005-04-023-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assert_no_cookie and fixed assert_cookie_equal to deal with ↵David Heinemeier Hansson2005-04-021-2/+11
| | | | | | non-existing cookies #979 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed :overwrite_param so it doesn't delete but reject elements from ↵David Heinemeier Hansson2005-04-021-1/+1
| | | | | | @request.parameters #982 [raphinou@yahoo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :method option to verify for ensuring that either GET, POST, etc is ↵David Heinemeier Hansson2005-04-021-4/+13
| | | | | | allowed #984 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the message display on the exception handler pages #963 [Johan ↵David Heinemeier Hansson2005-03-313-6/+9
| | | | | | Sorensen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1048 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that on very rare occasions, webrick would raise a NoMethodError: ↵David Heinemeier Hansson2005-03-311-1/+1
| | | | | | private method 'split' called for nil #1001 [Flurin Egger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problem with page caching #958 [Rick Olson]David Heinemeier Hansson2005-03-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController::Base.page_cache_extension for setting the page cache ↵David Heinemeier Hansson2005-03-271-1/+9
| | | | | | file extension (the default is .html) #903 [Andreas] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed "bad environment variable value" exception caused by Safari, Apache, ↵David Heinemeier Hansson2005-03-271-1/+1
| | | | | | and Ajax calls #918 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :owerwrite_params back to url_for and friends -- it was AWL since the ↵David Heinemeier Hansson2005-03-271-1/+8
| | | | | | introduction of Routes #921 [raphinou] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Whitespace flickerDavid Heinemeier Hansson2005-03-261-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added include_seconds option as the third parameter to ↵David Heinemeier Hansson2005-03-261-1/+1
| | | | | | distance_of_time_in_words which will render "less than a minute" in higher resolution ("less than 10 seconds" etc) #944 [thomas@fesch.at] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added fourth option to process in test cases to specify the content of the ↵David Heinemeier Hansson2005-03-261-1/+2
| | | | | | flash #949 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Verifications that allows you to specify preconditions to actions in ↵David Heinemeier Hansson2005-03-261-0/+79
| | | | | | form of statements like <tt>verify :only => :update_post, :params => "admin_privileges", :redirect_to => { :action => "settings" }</tt>, which ensure that the update_post action is only called if admin_privileges is available as a parameter -- otherwise the user is redirected to settings. #897 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added trailing_slash option to url_for, so you can generate urls ending in a ↵David Heinemeier Hansson2005-03-262-1/+4
| | | | | | slash. Note that is currently not recommended unless you need it for special reasons since it breaks caching #937 [stian@grytoyr.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1001 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation on models in sessions #929 [c.r.mcgrath@gmail.com]David Heinemeier Hansson2005-03-261-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed old UrlWriter methods that are no longer in use after Routes #942David Heinemeier Hansson2005-03-261-45/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@999 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added expire_matched_fragments(regular_expression) to clear out a lot of ↵David Heinemeier Hansson2005-03-261-2/+33
| | | | | | fragment caches at once #927 [technoweenie@gmail.com] Fixed the problems with : and ? in file names for fragment caches on Windows #927 [technoweenie@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that MissingSourceFile's wasn't properly detected in production mode ↵David Heinemeier Hansson2005-03-252-9/+1
| | | | | | #925 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tweaked the rescue with breakpoint, still not perfectDavid Heinemeier Hansson2005-03-232-11/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@986 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved error reporting especially around never shallowing exceptions. ↵David Heinemeier Hansson2005-03-234-16/+20
| | | | | | Debugging helpers should be much easier now #980 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation and prepared for 0.11.0 releaseDavid Heinemeier Hansson2005-03-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tweaked the documentationDavid Heinemeier Hansson2005-03-211-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routes: *path items should use arrays #883David Heinemeier Hansson2005-03-211-3/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pagination support through both a controller and helper add-on #817 ↵David Heinemeier Hansson2005-03-201-0/+378
| | | | | | [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@949 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce to_param to assert_redirected_to #880David Heinemeier Hansson2005-03-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routes: Convert results of #to_param to strings #879David Heinemeier Hansson2005-03-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed .htaccess to allow dispatch.* to be called from a sub-directory as ↵David Heinemeier Hansson2005-03-202-5/+17
| | | | | | part of the push with Action Pack to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] Fixed routing and helpers to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a much improved Flash module that allows for finer-grained control on ↵David Heinemeier Hansson2005-03-202-31/+127
| | | | | | expiration and allows you to flash the current action #839 [Caio Chassot] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added to_param call for parameters when composing an url using url_for from ↵David Heinemeier Hansson2005-03-202-3/+8
| | | | | | something else than strings #812 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@935 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added path collection syntax for Routes that will gobble up the rest of the ↵David Heinemeier Hansson2005-03-201-3/+24
| | | | | | url and pass it on to the controller #830 [rayners] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a bit more to the session documentation on how to clear sessionsDavid Heinemeier Hansson2005-03-201-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove superfluous begin/end in caching.rb methods #836David Heinemeier Hansson2005-03-141-16/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@908 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the reliance on PATH_INFO as it was causing problems for caching and ↵David Heinemeier Hansson2005-03-141-5/+1
| | | | | | inhibited the new non-vhost support #822 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Params for components should treat string and symbol keys indifferentlyDavid Heinemeier Hansson2005-03-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assigns shortcut for @response.template.assigns to controller test ↵David Heinemeier Hansson2005-03-101-1/+5
| | | | | | cases [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added render_partial/render_partial_collection from controllers for easier ↵David Heinemeier Hansson2005-03-091-0/+10
| | | | | | Ajaxing git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@880 5ecf4fe2-1ee6-0310-87b1-e25e094e27de