aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* fixes an issue with number_to_human when converting values which are less ↵Josh Kalderimis2011-03-161-1/+1
| | | | | | than 1 but greater than -1 [#6576 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* use a list to represent the supported verbs for a route objectAaron Patterson2011-03-142-11/+13
|
* stop splatting arguments so that we can understand wtf is going onAaron Patterson2011-03-141-2/+3
|
* RegexpWithNamedGroups is only used for path_info, so only apply to path infoAaron Patterson2011-03-141-1/+2
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-141-4/+4
|\
| * Change ActionView::ViewPathSet to ActionView::PathSetManuel Meurer2011-03-131-4/+4
| |
* | Add additional text to NotImplementedErrors [#6328 state:resolved]Mike Gehard2011-03-121-1/+1
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Just define methods directly on the class rather than use the moduleAaron Patterson2011-03-111-14/+5
| | | | | | | | | | | | indirection. clever--
* | do not automatically add format to routes that end in a slashAaron Patterson2011-03-111-1/+1
| |
* | Filter sensitive query string parameters in the log [#6244 state:committed]Prem Sichanugrist & Xavier Noria2011-03-111-4/+17
| | | | | | | | | | | | This provides more safety to applications that put secret information in the query string, such as API keys or SSO tokens. Signed-off-by: Xavier Noria <fxn@hashref.com>
* | Filter params that return nil for to_param and allow through false valuesAndrew White2011-03-092-2/+1
| |
* | stop being clever and just call methods on the Route objectAaron Patterson2011-03-082-1/+4
| |
* | test/unit in ruby trunk adds a new instance variable. YAY!Aaron Patterson2011-03-081-0/+1
|/
* more "SSL everywhere" for GitHub URLsAkira Matsuda2011-03-071-1/+1
| | | | see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere
* fix typosAkira Matsuda2011-03-071-2/+2
|
* Improve testing of cookies in functional tests:Andrew White2011-03-063-3/+17
| | | | | | | | | - cookies can be set using string or symbol keys - cookies are preserved across calls to get, post, etc. - cookie names and values are escaped - cookies can be cleared using @request.cookies.clear [#6272 state:resolved]
* Raise ArgumentError if route name is invalid [#6517 state:resolved]Andrew White2011-03-061-0/+2
|
* Allow model to be inherited from Hash [#6487 state:resolved]Alexander Uvarov2011-03-061-3/+4
| | | | Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* Action Pack typos.R.T. Lechow2011-03-059-13/+13
|
* Add an option to FormBuilder to omit hidden field with idAlexander Uvarov2011-03-041-2/+22
| | | | | | [#4551 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* make sure string keys are always looked up from the class cacheAaron Patterson2011-03-021-2/+3
|
* use newer class cache apiAaron Patterson2011-03-021-1/+1
|
* Fix Action caching bug where an action that has a non-cacheable response ↵Cheah Chu Yeow2011-03-021-3/+5
| | | | | | | | | | always renders a nil response body. It now correctly renders the response body. Note that only GET and HTTP 200 responses can be cached. [#6480 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* yo dawg, directly use the class cache rather than the cache of the cacheAaron Patterson2011-03-011-1/+2
|
* refactor Reference to a ClassCache object, fix lazy lookup in Middleware so ↵Aaron Patterson2011-03-012-5/+13
| | | | that anonymous classes are supported
* initialize ivarsAaron Patterson2011-03-011-1/+1
|
* Enumerable gives us include?, so remove include?Aaron Patterson2011-03-011-4/+0
|
* prefer composition over inheritance with AD::MSAaron Patterson2011-03-012-9/+38
|
* Revert "compute ext in initialize, and use an attr_reader"Aaron Patterson2011-02-281-5/+7
| | | | | | | | This reverts commit 2dbb73bdda3b81947fd112486ac4285fb1a6e3a9. Conflicts: actionpack/lib/action_dispatch/middleware/static.rb
* no need to pass a regex to Regexp.compileAaron Patterson2011-02-281-4/+4
|
* compute ext in initialize, and use an attr_readerAaron Patterson2011-02-281-7/+5
|
* javascript_include_tag shouldn't raise if you register an expansion key with ↵Santiago Pastorino2011-02-282-2/+2
| | | | nil value
* We're in 2011, let's update our licensePrem Sichanugrist2011-02-223-3/+3
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Prepend the CSRF filter to make it much more difficult to execute ↵Michael Koziarski2011-02-231-1/+1
| | | | application code before it fires.
* merges docrailsXavier Noria2011-02-183-1/+45
|\
| * Fix Typos: remove several occurences of the theNicholas Rowe2011-02-171-1/+1
| |
| * Added RDoc info for accepted options for simple_format in TextHelper.Steve Schwartz2011-02-151-0/+7
| |
| * add some docs for ActionController::RenderersGabriel Horner2011-02-101-0/+37
| |
* | Fix named route helper for routes nested inside deeply nested resourcesAndrew White2011-02-141-1/+1
| | | | | | | | [#6416 state:resolved]
* | Add notes on how to override the default :id constraint [#5994 state:resolved]Andrew White2011-02-141-1/+8
| |
* | Remove incorrect assert_recognizes exampleAndrew White2011-02-131-3/+0
| |
* | Fix assert_recognizes with block constraints [#5805 state:resolved]Andrew White2011-02-133-6/+13
| |
* | Add Date#rfc3339 and Date#iso8601 to ASSantiago Pastorino2011-02-131-0/+1
| |
* | Allow for the format of time_tag in AP to be changed via an option argument.Josh Kalderimis2011-02-121-3/+5
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Added time_tag helper to AP for HTML5 time tag [#5919 state:resolved]Sjoerd Andringa2011-02-122-1/+20
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Applied changes to stylesheet_link_tag from javascript_include_tag which ↵Josh Kalderimis2011-02-132-14/+15
| | | | | | | | corrects issues with ordering and duplicates.
* | This corrects two issues with javascript_include_tag, the order at which ↵Josh Kalderimis2011-02-131-4/+23
| | | | | | | | | | | | | | | | they are expanded, and removing duplicates. When individual js assets are specified, they will override the order of the same asset specified in an expansion. [#5938 state:resolved]
* | Add block support to button_tag helperTom Stuart2011-02-121-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per the HTML 4.01 spec: Buttons created with the BUTTON element function just like buttons created with the INPUT element, but they offer richer rendering possibilities: the BUTTON element may have content. For example, a BUTTON element that contains an image functions like and may resemble an INPUT element whose type is set to "image", but the BUTTON element type allows content. Since rich content is the main purpose of the <button> element, it makes sense for the button_tag helper to accept a block. http://www.w3.org/TR/html401/interact/forms.html#edef-BUTTON http://dev.w3.org/html5/spec/the-button-element.html#the-button-element Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com>
* | Make type="submit" the default for button_tag helperTom Stuart2011-02-121-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | "submit" is the default value of the <button> element's type attribute according to the HTML 4.01 and the HTML5 draft specs, so if button_tag is going to have a default, type="submit" is a more sensible choice than type="button". http://www.w3.org/TR/html401/interact/forms.html#adef-type-BUTTON http://dev.w3.org/html5/spec/the-button-element.html#attr-button-type Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com>
* | Add missing deprecation requireCarlos Antonio da Silva2011-02-111-0/+1
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>