aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that textilize and markdown would instantiate their engines even on ↵David Heinemeier Hansson2004-12-191-2/+2
| | | | | | empty strings. This also fixes #333 [Ulysses] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for automatic layout inclusion #328 [Marcel]David Heinemeier Hansson2004-12-191-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added respondence to *_before_type_cast for all attributes to return their ↵David Heinemeier Hansson2004-12-192-7/+9
| | | | | | string-state before they were type casted by the column type. Added use of *_before_type_cast for all input and text fields. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#port_string to get something like ":8080" back on 8080 and "" ↵David Heinemeier Hansson2004-12-182-7/+10
| | | | | | on 80 (or 443 with https). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#domain (returns string) and Request#subdomains (returns array).David Heinemeier Hansson2004-12-181-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added POST support for the breakpoint retries, so form processing that ↵David Heinemeier Hansson2004-12-181-1/+12
| | | | | | raises an exception can be retried with the original request [Florian Gross] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tagged the 0.9.1 releaseDavid Heinemeier Hansson2004-12-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug that would cause an ApplicationController to require itself ↵David Heinemeier Hansson2004-12-171-4/+5
| | | | | | three times and hence cause filters to be run three times [evl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the last tweaks before 0.9David Heinemeier Hansson2004-12-161-0/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentationDavid Heinemeier Hansson2004-12-1612-53/+80
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that controllers will now attempt to require a model dependency with ↵David Heinemeier Hansson2004-12-161-0/+12
| | | | | | their name and in a singular attempt for their name. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed DateHelper#date_select so that you can pass include_blank as an option ↵David Heinemeier Hansson2004-12-151-1/+2
| | | | | | even if you don't use start_year and end_year #59 [what-a-day] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documented select, collection_select, and country_select #304 [Ulysses]David Heinemeier Hansson2004-12-151-3/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that controllers will now search for a layout in ↵David Heinemeier Hansson2004-12-151-1/+15
| | | | | | $template_root/layouts/$controller_name.r(html|xml), so PostsController will look for layouts/posts.rhtml or layouts/posts.rxml and automatically configure this layout if found #307 [Marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormHelper#radio_button to work with radio buttons like its already ↵David Heinemeier Hansson2004-12-141-0/+23
| | | | | | possible with check boxes [Michael Koziarski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TemplateError#backtrace that makes it much easier to debug template ↵David Heinemeier Hansson2004-12-131-3/+10
| | | | | | errors from unit and functional tests git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the option of passing false to :module or :controller_prefix in order ↵David Heinemeier Hansson2004-12-132-5/+17
| | | | | | to "break out" of a module or prefix git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved require_association to associations.rb and added methods for resetting ↵David Heinemeier Hansson2004-12-121-0/+4
| | | | | | the inheritable attributes on subclasses git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Display error messages on scaffolded form pagesDavid Heinemeier Hansson2004-12-122-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the default button name on forms generated with formDavid Heinemeier Hansson2004-12-121-3/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to ERB templates to swallow newlines by using <% if something ↵David Heinemeier Hansson2004-12-121-1/+1
| | | | | | -%> instead of just <% if something %> git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed CgiRequest so that it'll now accept session options with Symbols as ↵David Heinemeier Hansson2004-12-122-3/+7
| | | | | | keys (as the documentation points out) [Suggested by Andreas] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that render_partial will always by default include a counter with ↵David Heinemeier Hansson2004-12-121-1/+8
| | | | | | value 1 unless there is a counter passed in via the local_assigns hash that overrides it. As a result, render_collection_of_partials can still be written in terms of render_partial and partials that make use of a counter can be called without problems from both render_collection_of_partials as well as render_partial #295 [marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed CgiRequest#out to fall back to #write if doesn't have #syswrite ↵David Heinemeier Hansson2004-12-121-4/+10
| | | | | | [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed all helpers so that they use XHTML compliant double quotes for values ↵David Heinemeier Hansson2004-12-123-17/+16
| | | | | | instead of single quotes [htonl/bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use lower-case post instead of POST as form method for XHTML compliance #290 ↵David Heinemeier Hansson2004-12-122-5/+5
| | | | | | [Scott Baron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problem with cookies not being set to path=/ by default and a test ↵David Heinemeier Hansson2004-12-101-2/+3
| | | | | | buggerboo git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set border on link_to_image to 0 by defaultDavid Heinemeier Hansson2004-12-101-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added link_to_image(src, options = {}, html_options = {}, ↵David Heinemeier Hansson2004-12-091-0/+37
| | | | | | *parameters_for_method_reference) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added breakpoint retries on rescue screensDavid Heinemeier Hansson2004-12-092-0/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We need to pass the name when deleting the cookieDavid Heinemeier Hansson2004-12-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@93 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added CookieJar#delete and fixed CookieJar[] to just call first, so you get ↵David Heinemeier Hansson2004-12-091-1/+6
| | | | | | a string instead of an array back. This limits each cookie to one value, which I consider a mighty fine restriction git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@92 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed to_input_field_tag so it no longer explicitly uses InstanceTag.value ↵David Heinemeier Hansson2004-12-081-2/+4
| | | | | | if value was specified in the options hash [evl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@81 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Killed the out of place alias and made sure you can use the different HTTP ↵David Heinemeier Hansson2004-12-081-6/+5
| | | | | | methods within the same testaction git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@80 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@77 ↵David Heinemeier Hansson2004-12-081-1/+0
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated Builder to 1.2.2David Heinemeier Hansson2004-12-081-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@76 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@72 ↵David Heinemeier Hansson2004-12-071-12/+13
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the possibility of having validate be protected for ↵David Heinemeier Hansson2004-12-071-2/+2
| | | | | | assert_(in)valid_column #263 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@67 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that ActiveRecordHelper#form now calls url_for on the :action option.David Heinemeier Hansson2004-12-072-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@62 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug with the HEAD stuffDavid Heinemeier Hansson2004-12-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@61 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the Inflector to handle the movie/movies pair correctly #261 [Scott Baron]David Heinemeier Hansson2004-12-071-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@60 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added all the HTTP methods as alternatives to the generic "process" for ↵David Heinemeier Hansson2004-12-071-1/+14
| | | | | | functional testing #276 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@58 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added indifference to whether @headers["Content-Type"], ↵David Heinemeier Hansson2004-12-072-4/+13
| | | | | | @headers["Content-type"], or @headers["content-type"] is used. Added proper handling of HEAD requests, so that content isnt returned (Request#head? added as well) #277 [Eric Hodel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@57 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TestSession#session_id that returns an empty string to make it easier ↵David Heinemeier Hansson2004-12-061-0/+4
| | | | | | to functional test applications that doesn't use cookie-based sessions #275 [jcf] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@52 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Syntax errors and other exceptions thrown outside of an action are now ↵David Heinemeier Hansson2004-12-067-39/+36
| | | | | | gracefully handled by the dispatcher git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that cached template loading would still check the file system to see ↵David Heinemeier Hansson2004-12-011-1/+2
| | | | | | if the file existed #258 [Andreas Schwarz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@43 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added options to tailor header tag, div id, and div class on ↵David Heinemeier Hansson2004-12-011-7/+17
| | | | | | ActiveRecordHelper#error_messages_for [josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@41 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added graceful handling of non-alphanumeric names and misplaced brackets in ↵David Heinemeier Hansson2004-12-011-16/+14
| | | | | | input parameters [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@39 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved the global require_* out of the classes so they actually work without ↵David Heinemeier Hansson2004-11-301-2/+4
| | | | | | stack overflows git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@33 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Abolished ActionController::Base.require_or_load in favor of ↵David Heinemeier Hansson2004-11-303-3/+5
| | | | | | require_dependency and ActiveRecord::Base.require_or_load in favor of require_association. Both methods are now also available in the global namespace when you need to require dependencies or associations outside of whats done automatically. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@32 5ecf4fe2-1ee6-0310-87b1-e25e094e27de