aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixed that the routes.rb file wouldn't be found on symlinked setups due to ↵David Heinemeier Hansson2005-03-061-1/+1
| | | | | | File.expand_path #793 [piotr@t-p-l.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed issues with caching root pages #734 [Nicholas Seckar]David Heinemeier Hansson2005-03-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed ActiveRecordStore to use Marshal instead of YAML as the latter ↵David Heinemeier Hansson2005-03-061-10/+23
| | | | | | proved troublesome in persisting circular dependencies. Updating existing applications MUST clear their existing session table from data to start using this updated store #739 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@866 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added shortcut :id assignment to render_component and friends (before you ↵David Heinemeier Hansson2005-03-061-3/+3
| | | | | | had to go through :params) #784 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that map.connect should convert arguments to strings #780 [Nicholas ↵David Heinemeier Hansson2005-03-061-1/+1
| | | | | | Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]. ↵David Heinemeier Hansson2005-03-061-3/+0
| | | | | | Moved all active support dependencies into active support git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that broken pipe errors (clients disconnecting in mid-request) could ↵David Heinemeier Hansson2005-03-031-7/+12
| | | | | | bring down a fcgi process git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the original exception message to session recall errors (so you can ↵David Heinemeier Hansson2005-03-031-1/+1
| | | | | | see which class wasnt required) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that RAILS_ROOT might not be defined when AP was loaded, so do a late ↵David Heinemeier Hansson2005-03-021-3/+2
| | | | | | initialization of the ROUTE_FILE #761 [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made path work for lighttpd again as it uses an empty string where Apache ↵David Heinemeier Hansson2005-03-011-1/+1
| | | | | | returns nil git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix request.path_info and clear up LoadingModule behavior #754 [Nicholas Seckar]David Heinemeier Hansson2005-03-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed caching to be aware of extensions (so you can cache files like ↵David Heinemeier Hansson2005-03-011-1/+3
| | | | | | api.wsdl or logo.png) #734 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Routes would raise NameErrors if a controller component contains ↵David Heinemeier Hansson2005-02-271-0/+1
| | | | | | characters that are not valid constant names #733 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@803 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added PATH_INFO access from the request that allows urls like the following ↵David Heinemeier Hansson2005-02-271-1/+5
| | | | | | to be interpreted by rails: http://www.example.com/dispatcher.cgi/controller/action -- that makes it possible to use rails as a CGI under lighttpd and would also allow (for example) Rublog to be ported to rails without breaking existing links to Rublog-powered blogs. #728 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that caching the root would result in .html not index.htmlDavid Heinemeier Hansson2005-02-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* With const_missing loading, its no longer necessary to dynamically require ↵David Heinemeier Hansson2005-02-241-2/+0
| | | | | | the scaffold model -- meaning the end of RDoc warnings! git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that proxy IPs do not follow all RFC1918 nets #251 [caleb@aei-tech.com]David Heinemeier Hansson2005-02-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix empty url_for with nested modules #707David Heinemeier Hansson2005-02-241-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed some docingDavid Heinemeier Hansson2005-02-241-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentationDavid Heinemeier Hansson2005-02-245-33/+55
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed unused methods in url_rewriting.rb #701David Heinemeier Hansson2005-02-241-36/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base#render_component_as_stringDavid Heinemeier Hansson2005-02-231-9/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base#render_to_string to parse a template and get the result back as a ↵David Heinemeier Hansson2005-02-231-4/+8
| | | | | | string #479 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that send_file/data can work even if render* has been called before in ↵David Heinemeier Hansson2005-02-231-39/+64
| | | | | | action processing to render the content of a file to be send for example #601 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Keep the singular style, like before_filter, etcDavid Heinemeier Hansson2005-02-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More component funDavid Heinemeier Hansson2005-02-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More component funDavid Heinemeier Hansson2005-02-221-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed component method namesDavid Heinemeier Hansson2005-02-221-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@747 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the sharing of request and response saferDavid Heinemeier Hansson2005-02-221-5/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added fine-grained assertions for RoutingDavid Heinemeier Hansson2005-02-221-17/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Redirects to root should be / not ""David Heinemeier Hansson2005-02-211-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed more caching and routing loveDavid Heinemeier Hansson2005-02-212-5/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed caching for root and Routing for getting back the current urlDavid Heinemeier Hansson2005-02-212-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@727 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove debugging statementDavid Heinemeier Hansson2005-02-201-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@725 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* All the memory-based stores should use a mutex #611 [inspire22]David Heinemeier Hansson2005-02-201-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Upgraded to breakpoint 92David Heinemeier Hansson2005-02-201-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Never end generated paths with a '/' #683David Heinemeier Hansson2005-02-202-4/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made caching work for WEBrick and lighttpd by appending .html for all URLs ↵David Heinemeier Hansson2005-02-202-8/+7
| | | | | | not already containing a dot git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added new keyword to specify load paths as being component based. Added ↵David Heinemeier Hansson2005-02-204-8/+31
| | | | | | better logging for component calls git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Gives Rescues some Love #680David Heinemeier Hansson2005-02-203-2/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@709 5ecf4fe2-1ee6-0310-87b1-e25e094e27de