aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Short documentation to mention use of Mime::Type.register. Closes #5710 ↵Michael Koziarski2006-08-052-1/+9
| | | | | | [choonkeat@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make controller_path available as an instance method. Closes #5724.Jeremy Kemper2006-08-053-2/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The white space inquisition is coming for you!David Heinemeier Hansson2006-08-041-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix broken query parameter testsNicholas Seckar2006-08-042-43/+115
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make us pass to ease RESTful children postsDavid Heinemeier Hansson2006-08-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make us pass to ease RESTful children postsDavid Heinemeier Hansson2006-08-041-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in caching docs. [Marcel Molina Jr.]Marcel Molina2006-08-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make action caching aware of different formats for the same action so that, ↵Marcel Molina2006-08-034-7/+203
| | | | | | e.g. foo.xml is cached separately from foo.html. Implicitly set content type when reading in cached content with mime revealing extensions so the entire onous isn't on the webserver. PDI MORE CACHING TESTS [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More tweaks to make sure assert_redirected_to works with symbolsJamis Buck2006-08-011-2/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure assert_respond_to works with symbol parametersJamis Buck2006-08-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Restrict Request Method hacking with ?_method to POST requests. [Rick Olson]Rick Olson2006-08-013-3/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nested resource testing.Jeremy Kemper2006-08-012-17/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nesting map.resourcesJeremy Kemper2006-08-012-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug when passing multiple options to SimplyRestful, like :new => { ↵Rick Olson2006-07-313-19/+49
| | | | | | :preview => :get, :draft => :get }. [Rick Olson, Josh Susser, Lars Pind] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dup the options passed to map.resources so that multiple resources get the ↵Rick Olson2006-07-313-3/+20
| | | | | | same options. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the new_#{resource}_url route and added named route tests for Simply ↵Rick Olson2006-07-313-14/+65
| | | | | | Restful. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added map.resources from the Simply Restful plugin (backwards incompatible ↵David Heinemeier Hansson2006-07-316-9/+290
| | | | | | with the plugin!) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4886@ks: jeremy | 2006-07-31 00:01:55 -0700Jeremy Kemper2006-07-311-1/+1
| | | | | | | comma git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4636 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that integration simulation of XHRs should set Accept header as well ↵David Heinemeier Hansson2006-07-311-0/+2
| | | | | | [Edward Frederick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that integration simulation of XHRs should set Accept header as well ↵David Heinemeier Hansson2006-07-311-1/+5
| | | | | | [Edward Frederick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* show missing file path on failed fixture_file_uploadRick Olson2006-07-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure TestRequest#session always returns a TestSession [Koz]Michael Koziarski2006-07-282-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't search a load-path of '.' for controller files, since it may include ↵Jamis Buck2006-07-272-1/+3
| | | | | | symlinks to all kinds of things and result in far too many irrelevant files being considered git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update integration.rb to require test_process explicitly instead of via ↵Nicholas Seckar2006-07-272-0/+3
| | | | | | Dependencies git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ICS to extension lookup recognition [Lars Pind]David Heinemeier Hansson2006-07-261-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that you can still access the flash after the flash has been reset in ↵Rick Olson2006-07-223-1/+21
| | | | | | reset_session. Closes #5584 [lmarlow@yahoo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow form_for and fields_for to work with indexed form inputs. [Jeremy ↵Rick Olson2006-07-183-1/+28
| | | | | | Kemper, Matt Lyon] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove leak in development modeNicholas Seckar2006-07-172-21/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Get rid of constant redefinition warnings when running AP testsMarcel Molina2006-07-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide support for decimal columns to form helpers. Closes #5672. ↵Marcel Molina2006-07-132-1/+3
| | | | | | [dave@pragprog.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update documentation for erb trim syntax. Closes #5651.Jeremy Kemper2006-07-092-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4598 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4487@asus: jeremy | 2006-04-29 12:21:39 -0700Jeremy Kemper2006-07-0811-29/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check whether @flash is defined? for warnings-safety. r4488@asus: jeremy | 2006-04-29 12:23:15 -0700 Check whether @flash is defined? for warnings-safety. Obviates nil? check. r4489@asus: jeremy | 2006-04-29 12:45:18 -0700 Check whether @session is defined? for warnings-safety. r4490@asus: jeremy | 2006-04-29 12:50:41 -0700 Check whether @rendering_runtime is defined? for warnings-safety. r4491@asus: jeremy | 2006-04-29 12:55:01 -0700 Check whether @_cycles is defined? for warnings-safety. r4492@asus: jeremy | 2006-04-29 12:59:19 -0700 Check whether instance variables are defined? for warnings-safety. r4493@asus: jeremy | 2006-04-29 13:14:09 -0700 Add nil @template to PrototypeHelperTest to suppress unitialized instance variable warning. r4494@asus: jeremy | 2006-04-29 13:31:34 -0700 Check whether @auto_index defined? for warnings-safety. r4495@asus: jeremy | 2006-04-29 13:32:24 -0700 Wrap content_columns redefinitions with silence_warnings. r4496@asus: jeremy | 2006-04-29 13:35:28 -0700 Wrap more redefinitions with silence_warnings. r4829@asus: jeremy | 2006-07-08 10:59:20 -0700 abstract unit, fix warnings r4830@asus: jeremy | 2006-07-08 11:06:12 -0700 Use parens to silence warning. r4831@asus: jeremy | 2006-07-08 11:06:48 -0700 Use parens to silence warning. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass :id => nil or :class => nil to error_messages_for to supress that html ↵Jeremy Kemper2006-07-083-3/+17
| | | | | | attribute. Closes #3586. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reset @html_document between requests so assert_tag works. Closes #4810.Jeremy Kemper2006-07-082-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update render :partial documentation. Closes #5646.Jeremy Kemper2006-07-082-14/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integration tests behave well with render_component. Closes #4632.Jeremy Kemper2006-07-082-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clarify partial filename constraints. Closes #1161.Jeremy Kemper2006-07-071-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* text_field_with_auto_complete stylesheet uses <style type="text/css"> ↵Jeremy Kemper2006-07-052-3/+2
| | | | | | instead of bare <style>. Closes #5610. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added exception handling of missing layouts (closes #5373) [chris@ozmm.org]David Heinemeier Hansson2006-07-053-1/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #5429)David Heinemeier Hansson2006-07-051-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that real files and symlinks should be treated the same when compiling ↵David Heinemeier Hansson2006-07-054-64/+138
| | | | | | templates (closes #5438) [zachary@panandscan.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #5576)David Heinemeier Hansson2006-07-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the flash should be reset when reset_session is called (closes ↵David Heinemeier Hansson2006-07-052-1/+9
| | | | | | #5584) [shugo@ruby-lang.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fixesDavid Heinemeier Hansson2006-07-051-40/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added special case for "1 Byte" in NumberHelper#number_to_human_size (closes ↵David Heinemeier Hansson2006-07-053-1/+4
| | | | | | #5593) [murpyh@rubychan.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4537 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4748@asus: jeremy | 2006-06-29 22:40:35 -0700Jeremy Kemper2006-06-302-2/+2
| | | | | | | Loosen urlencoded content type check. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed proper form-encoded parameter parsing for requests with "Content-Type: ↵David Heinemeier Hansson2006-06-302-1/+3
| | | | | | application/x-www-form-urlencoded; charset=utf-8" (note the presence of a charset directive) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add route_name_path method to generate only the path for a named routes. For ↵Nicholas Seckar2006-06-304-39/+58
| | | | | | example, map.person will add person_path. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing method_key.Jeremy Kemper2006-06-301-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Retain symbol method key and assign_method_name.Jeremy Kemper2006-06-291-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de