aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Recognize the .txt extension as Mime::TEXT [Rick]Rick Olson2007-01-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix parsing of array[] CGI parameters so extra empty values aren't included. ↵Jeremy Kemper2007-01-121-6/+7
| | | | | | Closes #6252. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tiny doc fix for link_to_remote simulated :delete example. Closes #6962.Jeremy Kemper2007-01-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* link_to_unless_current works with full URLs as well as paths. Closes #6891.Jeremy Kemper2007-01-121-2/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set request.env['REQUEST_URI'] when absent.Jeremy Kemper2007-01-121-5/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add some more detail on nested resource docs [Rick]Rick Olson2007-01-101-1/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Lookup the mime type for #auto_discovery_link_tag in the Mime::Type class. ↵Rick Olson2007-01-081-1/+1
| | | | | | Closes #6941 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug where nested resources ignore a parent singleton parent's path ↵Rick Olson2007-01-081-1/+1
| | | | | | prefix. Closes #6940 [Dan Kubb] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix no method error with error_messages_on. Closes #6935 [nik.wakelin Koz]Michael Koziarski2007-01-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Slight doc tweak to the ActionView::Helpers::PrototypeHelper#replace docs. ↵Rick Olson2007-01-051-1/+1
| | | | | | Closes #6922 [Steven Bristol] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Slight doc tweak to #prepend_filter. Closes #6493 [Jeremy Voorhis]Rick Olson2007-01-051-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add more extensive documentation to the AssetTagHelper. Closes #6452 [Bob ↵Rick Olson2007-01-051-42/+82
| | | | | | Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up multiple calls to #stringify_keys in TagHelper, add better ↵Rick Olson2007-01-051-23/+42
| | | | | | documentation and testing for TagHelper. Closes #6394 [Bob Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* [DOCS] fix reference to ActionController::Macros::AutoComplete for ↵Rick Olson2007-01-051-2/+2
| | | | | | #text_field_with_auto_complete. Closes #2578 [Jan Prill] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to latest PrototypeSam Stephenson2007-01-051-61/+102
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rollback [5833] and [5835]Rick Olson2007-01-042-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow ActionController::Base.session_store and #fragment_cache_store to ↵Rick Olson2007-01-041-5/+5
| | | | | | lazily load the session class to allow for custom session store plugins. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow ActionController::Base.session_store to lazily load the session class ↵Rick Olson2007-01-041-3/+3
| | | | | | to allow for custom session store plugins. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure html_document is reset between integration test requests (closes ↵Jamis Buck2007-01-011-0/+2
| | | | | | #6834) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use stringify_keysJeremy Kemper2007-01-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merge [5822] from 1.2 (oops, wrong order).Jeremy Kemper2007-01-011-9/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set session to an empty hash if :new_session => false and no session cookie ↵Jeremy Kemper2007-01-011-1/+7
| | | | | | or param is present. CGI::Session was raising an unrescued ArgumentError. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make RDoc not spew errors on install because of HTML comments in code commentsDavid Heinemeier Hansson2006-12-311-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing uses URI escaping for path components and CGI escaping for query ↵Jeremy Kemper2006-12-281-7/+8
| | | | | | parameters. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5803 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make error_message_on handle nil objects. [dan]Michael Koziarski2006-12-271-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_redirected_to bug where redirecting from a nested to to a ↵Rick Olson2006-12-251-2/+2
| | | | | | top-level controller incorrectly added the current controller's nesting. Closes #6128. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Singleton resources: POST /singleton => create, GET /singleton/new => newJeremy Kemper2006-12-221-24/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use 400 Bad Request status for unrescued ActiveRecord::RecordInvalid exceptions.Jeremy Kemper2006-12-221-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix date helper :include_blank regression. Closes #3811. [mhw]Jeremy Kemper2006-12-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence log_error deprecation warnings from inspecting deprecated instance ↵Jeremy Kemper2006-12-191-8/+10
| | | | | | variables. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only cache GET requests with a 200 OK response. Closes #6514, #6743.Jeremy Kemper2006-12-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a 'referer' attribute to TestRequestJamis Buck2006-12-191-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure render :json => ... skips the layout. Closes #6808 [Josh Peek]Rick Olson2006-12-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix HTML::Node to output double quotes instead of single quotes. Closes ↵Rick Olson2006-12-141-1/+1
| | | | | | #6845 [mitreandy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correctly report which filter halted the chain. References #6699.Jeremy Kemper2006-12-121-5/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix a bug in Routing where a parameter taken from the path of the current ↵Nicholas Seckar2006-12-091-3/+3
| | | | | | request could not be used as a query parameter for the next. Closes #6752. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5709 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Unrescued ActiveRecord::RecordNotFound responds with 404 instead of 500.Jeremy Kemper2006-12-081-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved auto_link to match more valid urls correctlyTobias Lütke2006-12-071-13/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix docs for singleton resourcesRick Olson2006-12-071-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add singleton resources. [Rick Olson]Rick Olson2006-12-071-8/+96
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove support for json in X-Post-Data-Format header since it's for backward ↵Jeremy Kemper2006-12-061-2/+0
| | | | | | compatibility only. References #4185. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unrelated render :yaml changes. References #4185.Jeremy Kemper2006-12-061-11/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More thorough JSON tests. Use application/json by default, per rfc4627. ↵Jeremy Kemper2006-12-061-2/+4
| | | | | | References #4185. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5695 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* respond_to recognizes JSON. render :json => @person.to_json automatically ↵Jeremy Kemper2006-12-063-0/+35
| | | | | | sets the content type and takes a :callback option to specify a client-side function to call using the rendered JSON as an argument. References #4185. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Bob's raining patches: fixes date_helper bugs and usability issues. ↵Jeremy Kemper2006-12-062-121/+224
| | | | | | References #3811. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dropped the idea of automatically routing :format for the vanilla routes -- ↵David Heinemeier Hansson2006-12-041-0/+5
| | | | | | that will be a treat for map.resources. Deprecated the name route root as it'll be used as a shortcut for map.connect '' in Rails 2.0 (Rails 1.2). Added map.root as an alias for map.connect '' (Rails 2.0) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#format to return the format used for the request as a mime ↵David Heinemeier Hansson2006-12-022-0/+14
| | | | | | type. If no format is specified, the first Request#accepts type is used. This means you can stop using respond_to for anything else than responses [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the option for extension aliases to mime type registration [DHH] ↵David Heinemeier Hansson2006-12-022-65/+22
| | | | | | Refactored default mime types to use the extension framework instead of just declaring themselves verbosely git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Premature commitDavid Heinemeier Hansson2006-11-302-14/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that script/server running against Mongrel should tail the proper log ↵David Heinemeier Hansson2006-11-302-0/+14
| | | | | | regardless of the environment [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de