aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* link_to_unless_current works with full URLs as well as paths. Closes #6891.Jeremy Kemper2007-01-121-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Lookup the mime type for #auto_discovery_link_tag in the Mime::Type class. ↵Rick Olson2007-01-081-0/+2
| | | | | | 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-0/+2
| | | | | | 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-0/+2
| | | | 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-0/+2
| | | | | | 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-0/+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-0/+2
| | | | | | 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-0/+2
| | | | | | 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-0/+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
* rollback [5833] and [5835]Rick Olson2007-01-041-2/+0
| | | | 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-1/+1
| | | | | | 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-0/+2
| | | | | | 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
* Set session to an empty hash if :new_session => false and no session cookie ↵Jeremy Kemper2007-01-011-0/+2
| | | | | | 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
* Routing uses URI escaping for path components and CGI escaping for query ↵Jeremy Kemper2006-12-281-0/+2
| | | | | | parameters. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5803 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* forgot to save CHANGELOGRick Olson2006-12-251-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Singleton resources: POST /singleton => create, GET /singleton/new => newJeremy Kemper2006-12-221-0/+2
| | | | 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-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence log_error deprecation warnings from inspecting deprecated instance ↵Jeremy Kemper2006-12-191-0/+2
| | | | | | 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-0/+2
| | | | 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/+2
| | | | 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-0/+2
| | | | 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-0/+2
| | | | | | #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-0/+2
| | | | 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-0/+2
| | | | | | 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-0/+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-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add singleton resources. [Rick Olson]Rick Olson2006-12-071-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update changelog to reflect application/json content type.Jeremy Kemper2006-12-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* respond_to recognizes JSON. render :json => @person.to_json automatically ↵Jeremy Kemper2006-12-061-0/+6
| | | | | | 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-061-0/+16
| | | | | | 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/+2
| | | | | | 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-021-0/+6
| | | | | | 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-021-0/+6
| | | | | | 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
* @response.redirect_url works with 201 Created responses: just return ↵Jeremy Kemper2006-11-281-0/+2
| | | | | | headers['Location'] rather than checking the response status. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* strip_tags passes through blank args such as nil or "". Closes #6702, ↵Jeremy Kemper2006-11-261-1/+1
| | | | | | references #2229. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added CSV to Mime::SET so that respond_to csv will workTobias Lütke2006-11-241-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that HEAD should return the proper Content-Length header (that is, ↵David Heinemeier Hansson2006-11-231-0/+2
| | | | | | actually use @body.size, not just 0) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Added GET-masquarading for HEAD, so request.method will return :get even ↵David Heinemeier Hansson2006-11-231-0/+2
| | | | | | for HEADs. This will help anyone relying on case request.method to automatically work with HEAD and map.resources will also allow HEADs to all GET actions. Rails automatically throws away the response content in a reply to HEAD, so you dont even need to worry about that. If you, for whatever reason, still need to distinguish between GET and HEAD in some edge case, you can use Request#head? and even Request.headers["REQUEST_METHOD"] for get the "real" answer. Closes #6694 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Routing to complain when :controller is not specified by a route. ↵Nicholas Seckar2006-11-221-0/+2
| | | | | | Closes #6669. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure render_to_string cleans up after itself when an exception is raised. ↵Jeremy Kemper2006-11-201-0/+2
| | | | | | Closes #6658. Great tests! git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract template_changed_since? from compile_template? so plugins may ↵Jeremy Kemper2006-11-201-0/+2
| | | | | | override its behavior for non-file-based templates. Closes #6651. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk w/ latest Prototype and script.aculo.usThomas Fuchs2006-11-191-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* simple_format helper doesn't choke on nil. Closes #6644.Jeremy Kemper2006-11-191-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Prototype in trunk to [5550]Thomas Fuchs2006-11-171-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reuse named route helper module between Routing reloads to prevent memory leaks.Nicholas Seckar2006-11-171-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionView::Base.erb_variable accessor names the buffer variable used to ↵Jeremy Kemper2006-11-171-1/+1
| | | | | | render templates. Defaults to _erbout; use _buf for erubis. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate standalone components.Jeremy Kemper2006-11-161-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_select_rjs :removeJeremy Kemper2006-11-151-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Always clear model associations from session. Closes #4795.Jeremy Kemper2006-11-131-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de