aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Removed the require hack used in functional tests that worked around an ↵Jamis Buck2005-06-142-16/+2
| | | | | | earlier bug in rake. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow distance_of_time_in_words to work with any value that responds to ↵Jamis Buck2005-06-143-0/+12
| | | | | | #to_time (like dates) #969 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resync with html-scanner (fix parser bug)Jamis Buck2005-06-141-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support :render option to :verify #1440 [TobiasLuetke]Jamis Buck2005-06-143-2/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1418 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix broken test case caused by change of testing address from 127.0.0.1 to ↵Jamis Buck2005-06-141-1/+1
| | | | | | 0.0.0.0 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated vendor copy of html-scanner lib, for bug fixes and optimizationsJamis Buck2005-06-145-19/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed test requests to come from 0.0.0.0 instead of 127.0.0.1 such that ↵David Heinemeier Hansson2005-06-142-1/+3
| | | | | | they don't trigger debugging screens on exceptions, but instead call rescue_action_in_public git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2495@sedna: jeremy | 2005-05-27 22:07:18 -0700Jeremy Kemper2005-06-1210-71/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Branch to have scaffold use new render methods r2496@sedna: jeremy | 2005-05-28 10:50:51 -0700 axe unused process_request method r2497@sedna: jeremy | 2005-05-28 10:51:58 -0700 sanity assertions in process method check that @controller, @request, @response are set r2498@sedna: jeremy | 2005-05-28 10:53:42 -0700 clean up escaping. use instance_variable_get instead of instance_eval. put id in form action instead of hidden input (like the generated scaffolding) r2499@sedna: jeremy | 2005-05-28 10:54:46 -0700 clean up interpolation, remove tabs from stylesheet r2500@sedna: jeremy | 2005-05-28 10:56:40 -0700 modernize dynamic scaffolding. use params[:id] instead of @params[id]. use consolidated render method instead of render_action, render_file, etc. use builtin inflections rather than module methods. r2501@sedna: jeremy | 2005-05-28 11:00:26 -0700 modernize generated scaffolding. use new-style assertions; use params[:id] instead of @params[id]; use consolidated render method instead of render_* r2542@sedna: jeremy | 2005-06-12 02:24:06 -0700 use :id => model instead of :id => model.id. clean up the form helper method. use flash[:notice] instead of flash['notice']. r2543@sedna: jeremy | 2005-06-12 02:33:22 -0700 whitespace r2544@sedna: jeremy | 2005-06-12 02:56:57 -0700 update changelogs r2545@sedna: jeremy | 2005-06-12 03:26:23 -0700 test dynamic form help when @post is not a new record r2546@sedna: jeremy | 2005-06-12 03:44:14 -0700 touch up TestCase#process sanity assertions git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Arrays sent via multipart posts are converted to strings #1032 [dj@omelia.org]Jamis Buck2005-06-103-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* CSS needs "red" not #redDavid Heinemeier Hansson2005-06-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed scaffolding to use the latest styleDavid Heinemeier Hansson2005-06-022-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Action View work with the new render :file/:partial style from the ↵David Heinemeier Hansson2005-06-021-2/+15
| | | | | | controller git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render(:action) and render() are the only two render calls to use a layout ↵Jamis Buck2005-06-014-11/+10
| | | | | | by default. All others default to :layout => false. Also, allow :layout => true to be a synonym for :layout => nil. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render(:inline) defaults to :layout => falseJamis Buck2005-05-303-3/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1372 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure the benchmarking render method always returns the result of the ↵Jamis Buck2005-05-305-27/+25
| | | | | | render, regardless of whether logging is enabled or not. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render(:text), render(:partial), and render(:nothing) always default to ↵Jamis Buck2005-05-304-6/+33
| | | | | | :layout => false. This also fixes send_file, which was applying a layout if one existed for the current action. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* verify with :redirect_to won't redirect if a redirect or render has already ↵Jamis Buck2005-05-303-30/+47
| | | | | | been performed #1350 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render(:partial => "...") uses an empty hash for the local assigns #1365. ↵Jamis Buck2005-05-303-5/+16
| | | | | | render(:partial => true) is identical to the older render_partial() git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't die when an attempt to delete a cache failsJamis Buck2005-05-301-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated unit test styleDavid Heinemeier Hansson2005-05-221-48/+43
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test for no layout on nothingDavid Heinemeier Hansson2005-05-221-1/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render :nothing shouldnt cause layoutsDavid Heinemeier Hansson2005-05-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set redirected_to properDavid Heinemeier Hansson2005-05-221-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cure some ills discovered with the refactoringDavid Heinemeier Hansson2005-05-225-34/+35
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecated all render_* methods in favor of consolidating all rendering ↵David Heinemeier Hansson2005-05-229-266/+288
| | | | | | behavior in Base#render(options). This enables more natural use of combining options, such as layouts git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecated redirect_to_path and redirect_to_url in favor of letting ↵David Heinemeier Hansson2005-05-229-50/+396
| | | | | | redirect_to do the right thing when passed either a path or url. Introduced r as a unified method for render (still under construction) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added DoubleRenderError exception that'll be raised if render* is called ↵David Heinemeier Hansson2005-05-212-2/+11
| | | | | | twice #518 [Nicholas Seckar]. Fixed exceptions occuring after render has been called #1096 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed use of an integer as return code for renders, so render_text "hello ↵David Heinemeier Hansson2005-05-212-1/+3
| | | | | | world", 404 now works #1327 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the post_format work with content-typeDavid Heinemeier Hansson2005-05-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the post_format work with content-typeDavid Heinemeier Hansson2005-05-203-9/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include flash in the list of attributes with accessors in the viewDavid Heinemeier Hansson2005-05-202-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed assert_redirect_to to work with redirect_to_path #869 [Nicholas Seckar]David Heinemeier Hansson2005-05-193-8/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed escaping of :method option in remote_form_tag #1218 [Rick Olson]David Heinemeier Hansson2005-05-192-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Optimize ActionCacheFilter by using url_for less #1230 [skaen]David Heinemeier Hansson2005-05-191-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache relative_url_root and optimize path #1232 [skaen]David Heinemeier Hansson2005-05-191-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Faster action_exempted? #1231 [skaen]David Heinemeier Hansson2005-05-192-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Serbia and Montenegro to the country_select #1239 [todd@robotcoop.com]David Heinemeier Hansson2005-05-191-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Request#remote_ip in testing #1251 [bitsweat]David Heinemeier Hansson2005-05-193-2/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that compute_public_path should recognize external URLs, so ↵David Heinemeier Hansson2005-05-193-1/+4
| | | | | | image_tag("http://www.example.com/images/icon.gif") is not prefixed with the relative url path #1254 [victor-ronr-trac@carotena.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for descending year values in DateHelper#select_year, like ↵David Heinemeier Hansson2005-05-193-6/+21
| | | | | | select_year(Date.today, :start_year => 2005, :end_year => 1900), which would count down from 2005 to 1900 instead of the other way #1274 [nwoods@mail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ajax docing #1282 [Dee.Zsombor@gmail.com]David Heinemeier Hansson2005-05-191-0/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that FormHelper#checkbox should return a checked checkbox if the value ↵David Heinemeier Hansson2005-05-193-0/+12
| | | | | | is the same as checked_value #1286 [Florian Weber] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed doc #1291David Heinemeier Hansson2005-05-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Form.disable in Prototype #1317 [Wintermute]David Heinemeier Hansson2005-05-192-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1311 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Push to .org insteadDavid Heinemeier Hansson2005-05-191-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added accessors to logger, params, response, session, and headers from the ↵David Heinemeier Hansson2005-05-193-0/+14
| | | | | | view, so you can write <% logger.info "stuff" %> instead of <% @logger.info "others" %> -- more consistent with the preferred way of accessing these attributes and collections from the controller git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update docs to X-POST_DATA_MARSHALDavid Heinemeier Hansson2005-05-141-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use X-POST_DATA_FORMAT instead of just POST_DATA_FORMATDavid Heinemeier Hansson2005-05-142-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1305 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for POST data in form of YAML or XML, which is controller ↵David Heinemeier Hansson2005-05-142-1/+31
| | | | | | through the POST_DATA_MARSHAL header git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for POST data in form of YAML or XML, which is controller ↵David Heinemeier Hansson2005-05-145-8/+1065
| | | | | | through the POST_DATA_MARSHAL header git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1303 5ecf4fe2-1ee6-0310-87b1-e25e094e27de