aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'master' into sprocketsJoshua Peek2011-04-126-11/+16
|\|
| * Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-121-1/+4
| |\
| | * Merge branch 'master' of github.com:lifo/docrailsRyan Bigg2011-04-054-4/+4
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of github.com:lifo/docrails: (57 commits) Made the defaults section a little more readable and more to the point, giving a overview of the possibilities. Added information about default values added .'s to headings in the initialization textile page s/ERb/ERB/g (part II) s/ERb/ERB/g Bump up erubis to 2.7.0 Implicit actions named not_implemented can be rendered Gem::Specification#has_rdoc= is deprecated since rubygems 1.7.0 default_executable is deprecated since rubygems 1.7.0 Trivial fix to HTTP Digest auth MD5 example Moved Turn activation/dependency to railties fix typo Direct logging of Active Record to STDOUT so it's shown inline with the results in the console [DHH] Add using Turn with natural language test case names if the library is available (which it will be in Rails 3.1) [DHH] require turn only for minitest Use Turn to format all Rails tests and enable the natural language case names Improve docs. pass respond_with options to controller render when using a template for api navigation only try to display an api template in responders if the request is a get or there are no errors when using respond_with with an invalid resource and custom options, the default response status and error messages should be returned ...
| | * | Correct documentation on url_for. It doesn't call to_s, but rather to_paramRyan Bigg2011-04-051-1/+4
| | | |
| * | | Make csrf_meta_tags use the tag helperJames Robinson2011-04-081-4/+6
| | | | | | | | | | | | | | | | Improved formatting of csrf_helper and improved test coverage
| * | | do not return html safe strings from auto_linkAaron Patterson2011-04-051-2/+2
| | |/ | |/|
| * | s/ERb/ERB/gAkira Matsuda2011-04-034-4/+4
| |/ | | | | | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
* | Merge branch 'master' into sprocketsJoshua Peek2011-03-302-2/+18
|\| | | | | | | | | Conflicts: railties/lib/rails/application/configuration.rb
| * Fix alias_method, add testDavid Heinemeier Hansson2011-03-271-1/+1
| |
| * Allow FormHelper#form_for to specify the :method as a direct option instead ↵David Heinemeier Hansson2011-03-261-2/+13
| | | | | | | | of through the :html hash [DHH]
| * Make JavaScriptHelper#j() an alias for JavaScriptHelper#escape_javascript() ↵David Heinemeier Hansson2011-03-261-0/+5
| | | | | | | | -- note this then supersedes the Object#j() method that the JSON gem adds within templates using the JavaScriptHelper [DHH]
* | Seperate asset directoriesJoshua Peek2011-03-291-1/+3
| |
* | Change back to /assets prefixJoshua Peek2011-03-291-2/+2
| |
* | Only add fingerprints if perform_caching is onJoshua Peek2011-03-291-1/+1
| |
* | Use sprockets helpers if config.use_sprockets is setJoshua Peek2011-03-292-6/+22
| |
* | Tests for SprocketsHelperJoshua Peek2011-03-291-5/+11
| |
* | Update sprockets path generation methodJoshua Peek2011-03-281-1/+1
| |
* | Add SprocketsHelperJoshua Peek2011-03-281-0/+77
| |
* | Remove sprockets exception from main asset helpersJoshua Peek2011-03-282-20/+0
| |
* | Add sprockets md5s to asset tagsJoshua Peek2011-03-222-0/+20
|/
* 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>
* Filter params that return nil for to_param and allow through false valuesAndrew White2011-03-091-1/+0
|
* 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
|
* 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-054-7/+7
|
* 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>
* javascript_include_tag shouldn't raise if you register an expansion key with ↵Santiago Pastorino2011-02-282-2/+2
| | | | nil value
* merges docrailsXavier Noria2011-02-182-1/+8
|\
| * 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 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>
* | Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵Josh Kalderimis2011-02-102-18/+38
| | | | | | | | | | | | the same same. This also changes how safe_join works, if items or the separator are not html_safe they are html_escape'd, a html_safe string is always returned. Signed-off-by: José Valim <jose.valim@gmail.com>
* | Revert "Removed Array#safe_join in AS core_ext and moved it to a view helper ↵José Valim2011-02-102-40/+18
| | | | | | | | | | | | | | | | with the same same." Applied the wrong version. This reverts commit 98c0c5db50a7679b3d58769ac22cb0a27a62c930.
* | Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵Josh Kalderimis2011-02-102-18/+40
| | | | | | | | the same same.
* | Be sure to javascript_escape the email address to prevent apostrophes ↵Michael Koziarski2011-02-081-5/+6
| | | | | | | | | | | | inadvertently causing javascript errors. This fixes CVE-2011-0446
* | fields_for with inline blocks and nested attributes already persisted does ↵Santiago Pastorino2011-02-081-10/+7
| | | | | | | | | | | | not render properly [#6381 state:committed]
* | put authenticity_token option in parity w/ remoteDan Pickett2011-02-061-4/+5
| | | | | | | | | | | | [#6228 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Added tests for form_for and an authenticity_token option. Added docs for ↵Timothy N. Tsvetkov2011-02-051-0/+18
|/ | | | | | | | for_for and authenticity_token option. Added section to form helpers guide about forms for external resources and new authenticity_token option for form_tag and form_for helpers. [#6228 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* removing generation of id in submit helperFranco Brusatti2011-02-031-1/+1
| | | | | | [#6369 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Allow customization of form class for button_toAndrei Bocan2011-02-011-3/+13
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* auto_link: avoid recognizing full width chars as a part of URI schemeAkira Matsuda2011-02-011-1/+1
| | | | | | | | fixes regression by http://github.com/rails/rails/commit/133ada6ab0f0cb7bef2bd40dbc18f2d5bc6b964e [#5503 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Issue one Cache#read command instead of two in the case of a fragment cache hitChristos Trochalakis2011-01-181-2/+2
|
* button_tag should escape it contentSantiago Pastorino2011-01-121-1/+1
|