aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Added current_page?(options) method to check if the url_for options passed ↵David Heinemeier Hansson2005-02-171-1/+6
| | | | | | corresponds to the current page git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplified link_to_unless_current to work with the new RoutingDavid Heinemeier Hansson2005-02-171-24/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better fix for requireing a missing route file in unit testsDavid Heinemeier Hansson2005-02-171-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that routes werent being loaded in production environmentDavid Heinemeier Hansson2005-02-171-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forget defaults :action if :controller changed at allDavid Heinemeier Hansson2005-02-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Routes drop the default for action when the controller changes #651David Heinemeier Hansson2005-02-171-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the verbosity of using the AR storeDavid Heinemeier Hansson2005-02-171-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable diagnostics screen againDavid Heinemeier Hansson2005-02-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed https handling on other ports than 443 [Alan Gano]David Heinemeier Hansson2005-02-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move Controllers wrapper module away from environment.rb and into ↵David Heinemeier Hansson2005-02-151-1/+3
| | | | | | dependencies.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* All libraries should link against the independent active supportDavid Heinemeier Hansson2005-02-151-9/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved Active Support into its own gemDavid Heinemeier Hansson2005-02-152-7/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-1512-111/+422
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of routing merge.. investigating missing patchesDavid Heinemeier Hansson2005-02-1512-406/+46
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added routing itself.. wonder why that didnt make it through the mergeDavid Heinemeier Hansson2005-02-151-0/+260
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-1511-46/+146
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stringify the parameters on follow_redirectDavid Heinemeier Hansson2005-02-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added follow_redirect method for functional tests that'll get-request the ↵David Heinemeier Hansson2005-02-121-1/+9
| | | | | | redirect that was made. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed whitespaceDavid Heinemeier Hansson2005-02-111-7/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed double requiring of models with the same name as the controllerDavid Heinemeier Hansson2005-02-111-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the store less verbose when saving the session dataDavid Heinemeier Hansson2005-02-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that query params could be forced to nil on a POST due to the raw post ↵David Heinemeier Hansson2005-02-071-4/+4
| | | | | | fix #562 [moriq@moriq.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation snafus #575, #576, #577, #585David Heinemeier Hansson2005-02-0718-34/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that cookies shouldn't be frozen in TestRequest #571 [Eric Hodel]David Heinemeier Hansson2005-02-071-6/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Minor refactoring to prettifyDavid Heinemeier Hansson2005-02-061-8/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@517 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Catch ArgumentError not NameErrorDavid Heinemeier Hansson2005-01-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@514 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise LoadErrors separatelyDavid Heinemeier Hansson2005-01-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Comply to the new dependency reload systemDavid Heinemeier Hansson2005-01-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the ordering of attributes in the xml-decleration of Builder #540 [woeye]David Heinemeier Hansson2005-01-251-6/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added @request.raw_post as a convenience access to ↵David Heinemeier Hansson2005-01-253-13/+23
| | | | | | @request.env['RAW_POST_DATA'] and fixed the patch problems with the session #534 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Applied the dblack patchDavid Heinemeier Hansson2005-01-241-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :application_prefix to url_for and friends that makes it easier to ↵David Heinemeier Hansson2005-01-241-1/+2
| | | | | | setup Rails in non-vhost environments #516 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :encode option to mail_to that'll allow you to masquarede the email ↵David Heinemeier Hansson2005-01-241-1/+28
| | | | | | address behind javascript or hex encoding #494 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Another swing at reloadingDavid Heinemeier Hansson2005-01-241-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the content-header was being set to application/octet_stream ↵David Heinemeier Hansson2005-01-221-1/+1
| | | | | | instead of application/octet-stream on send_date/file [Alexey] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed no-binding fragment cachingDavid Heinemeier Hansson2005-01-203-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the need for passing the binding when using CacheHelper#cacheDavid Heinemeier Hansson2005-01-202-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deactivated RAW_POST_DATA pending fixDavid Heinemeier Hansson2005-01-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A few missing filesDavid Heinemeier Hansson2005-01-201-0/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TestResponse#binary_content that'll return as a string the data sent ↵David Heinemeier Hansson2005-01-201-0/+17
| | | | | | through send_data/send_file for testing #500 [Alexey] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added @request.env['RAW_POST_DATA'] for people who need access to the data ↵David Heinemeier Hansson2005-01-201-0/+1
| | | | | | before Ruby's CGI has parsed it #505 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@463 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that all redirect and render calls now return true, so you can use the ↵David Heinemeier Hansson2005-01-202-7/+22
| | | | | | pattern of "do and return". Added that renders and redirects called in before_filters will have the same effect as returning false: stopping the chain. Added that only one render or redirect can happen per action. The first call wins and subsequent calls are ignored. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that a default fragment store wan't being set to MemoryStore as intendedDavid Heinemeier Hansson2005-01-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@461 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug where cookies wouldn't be set if a symbol was used instead of a ↵David Heinemeier Hansson2005-01-171-1/+1
| | | | | | string as the key git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assert_cookie_equal to assert the contents of a named cookieDavid Heinemeier Hansson2005-01-171-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug in page caching that prevented it from working at allDavid Heinemeier Hansson2005-01-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more informative error message for "file not found" situation in ↵David Heinemeier Hansson2005-01-161-1/+1
| | | | | | send_file #484 [Alexey] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Finished documentation for cachingDavid Heinemeier Hansson2005-01-151-64/+102
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the option of passing a block to ActiveRecordHelper#form in order to ↵David Heinemeier Hansson2005-01-152-5/+11
| | | | | | add more to the auto-generated form #469 [dom@sisna.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed page caching problems with saving cached file fails for the index ↵David Heinemeier Hansson2005-01-151-5/+17
| | | | | | action and that it shouldnt cache files with GET/POST parameters #462 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de