aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
...
| * nodoc AD & AV railties classesCarlos Duclos2012-12-011-1/+1
| |
| * Remove :nodoc from SanitizeHelper module [ci skip]HPNeo2012-12-011-1/+1
| |
| * Removes :nodoc: label [ci skip]Alvaro Pereyra2012-12-011-1/+1
| |
| * Improves documentation on favicon_link_tagAlvaro Pereyra2012-12-011-14/+16
| |
| * Update documentation for javascript_include_tag [ci skip]HPNeo2012-12-011-10/+13
| |
* | Override <%== to always behave as literal text rather than toggling based on ↵Jeremy Kemper2012-12-031-0/+11
| | | | | | | | whether escaping is enabled. Fixes that existing plaintext email templates using <%== unexpectedly flipped to *escaping* HTML when #8235 was merged.
* | More descriptive error when rendering a partial with `:layout => true`Yves Senn2012-12-021-1/+1
|/
* added examples when options is stringTakehiro Adachi2012-11-291-3/+9
|
* Cleanup CacheHelper changes allowing opt-out of cache digestsDrew Ulmer2012-11-271-2/+2
| | | | | | | | | | Instead of deleting the skip_digest option flag, this changes the method to merely check the key. This change is because of a discussion in this thread: https://github.com/rails/rails/pull/8317 This commit also makes #fragment_name_with_digest private due to its functionality being subsumed by #cache_fragment_name.
* No sort Hash options in #grouped_options_for_selectSergey Kojin2012-11-271-6/+4
|
* unshift html-scanner into $LOAD_PATH rather than appendAkira Matsuda2012-11-271-1/+1
|
* Add explicit opt-out for fragment cache digestingDrew Ulmer2012-11-251-1/+23
| | | | | | | | | This add support for sending an explicit opt-out of the "Russian-doll" cache digest feature on a case-by-case basis. This is useful when cache- expiration needs to be performed manually and it would be otherwise difficult to know the exact name of a digested cache key. More information: https://github.com/rails/cache_digests/pull/16
* Merge pull request #8306 from senny/documentation_for_hidden_field_idCarlos Antonio da Silva2012-11-241-0/+5
|\ | | | | Document :hidden_field_id option for fields_for [ci skip]
| * document :hidden_field_id option for fields_forYves Senn2012-11-241-0/+5
| |
* | Remove private partial/template renderer methodsCarlos Antonio da Silva2012-11-213-14/+3
|/ | | | | | Since now these objects are not cached anymore, there's no need to have these private methods, just instantiate each of them in the necessary place.
* render every partial with a new `PartialRenderer`.Yves Senn2012-11-191-2/+2
| | | | | | | | This resolves issues when rendering nested partials. Previously the `PartialRenderer` was reused which led to situations where the state of the renderer was reset. Closes #8197
* Introduce `ActionView::Template::Handlers::ERB.escape_whitelist`.Joost Baaij2012-11-161-0/+5
| | | | | | | | | | | This is a list of mime types where template text is not html escaped by default. It prevents `Jack & Joe` from rendering as `Jack &amp; Joe` for the whitelisted mime types. The default whitelist contains text/plain. This follows a whitelist approach where plain text templates are not escaped, and all the others (json, xml) are. The mime type is assumed to be set by the abstract controller.
* Merge pull request #8222 from marcandre/avoid_slashRafael Mendonça França2012-11-141-1/+1
|\ | | | | Avoid using Integer#/, as it is redefined by the 'mathn' stdlib
| * Avoid using Integer#/, as it is redefined by the 'mathn' stdlibMarc-Andre Lafortune2012-11-141-1/+1
| |
* | Merge pull request #8218 from DawidJanczak/form-tag-docCarlos Antonio da Silva2012-11-141-1/+1
|/ | | | | | | [ci skip] Correct examples for form_tag helper. Conflicts: actionpack/lib/action_view/helpers/form_tag_helper.rb
* Merge pull request #8151 from nashby/forwardableCarlos Antonio da Silva2012-11-091-20/+2
|\ | | | | delegate PathSet's enumerator methods
| * delegate PathSet's enumerator methodsVasiliy Ermolovich2012-11-091-20/+2
| |
* | Fix message about include_blank option.Steve Klabnik + Katrina Owen2012-11-091-1/+1
|/ | | | | See https://github.com/rails/rails/commit/cb7d19b66badfbd1846c195913419c331701074e#commitcomment-2127148.
* Support :multiple option on input tags with :indexDaniel Fox, Grant Hutchins & Trace Wax2012-11-022-6/+4
| | | | | When you have an explicit index set, then when you build an input tag with :multiple => true, it doesn't add [] to the end of its name, although it should.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-0320-361/+361
|\ | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb activerecord/lib/active_record/attribute_methods.rb guides/source/working_with_javascript_in_rails.md
| * Hash Syntax to 1.9 related changesAvnerCohen2012-10-2920-346/+346
| |
| * fix error in AssertTagHelper documentation [ci skip]Cesar Carruitero2012-10-211-5/+5
| |
| * update AssetTagHelper documentation [ci skip]Cesar Carruitero2012-10-211-21/+21
| |
* | Make caller attribute in deprecation methods optionalAlexey Gaziev2012-10-309-16/+15
| |
* | Fix failing tests and use new hash style in deprecation messagesCarlos Antonio da Silva2012-10-294-16/+16
| |
* | Provide a call stack for deprecation warnings where needed.Nikita Afanasenko2012-10-298-15/+38
| | | | | | | | It's sometimes hard to quickly find where deprecated call was performed, especially in case of migrating between Rails versions. So this is an attempt to improve the call stack part of the warning message by providing caller explicitly.
* | Improve the deprecation message of link_to_function andRafael Mendonça França2012-10-271-2/+4
| | | | | | | | | | | | button_to_function Point the the Unobtrusive JavaScript secion in the JavaScript guide
* | Fix gratuitous use of ternary operatorCaleb Thompson2012-10-251-2/+5
|/
* check_box value can be not only an object of Array classVasiliy Ermolovich2012-10-201-3/+5
| | | | there is a chance that `value` is a Set or an object that reponses to `include?` method so let's handle this case
* Add i18n scope to disance_of_time_in_words.Steve Klabnik2012-10-191-1/+5
| | | | This fixes #733.
* Merge pull request #7975 from butcher/extend_date_select_helper_functionalityRafael Mendonça França2012-10-181-0/+3
|\ | | | | | | | | | | | | Extend date_select helper functionality. Conflicts: actionpack/CHANGELOG.md
| * Extend date_select helper functionality.Pavel Nikitin2012-10-181-0/+3
| |
* | fix Digestor to be thread safe.Aaron Patterson2012-10-171-8/+30
|/ | | | | Add a lock on the cache so that we don't have concurrency issues when calculating the cache.
* Ignore asset url query string or anchor when appending extensions and ↵Joshua Peek2012-10-151-1/+3
| | | | computing public path
* Extract compute_asset_extname and allow extname to be disabledJoshua Peek2012-10-151-7/+15
|
* Merge branch 'master' into asset-path-helperJoshua Peek2012-10-151-4/+0
|\ | | | | | | | | Conflicts: railties/test/application/configuration_test.rb
| * Removed useless "extend SanitizeHelper::ClassMethods"Andrey Samsonov2012-10-151-4/+0
| | | | | | | | | | Since SanitizeHelper includes ActiveSupport::Concern, extending of it ClassMethods is no needed.
* | :fire: Rails asset id supportJoshua Peek2012-10-154-164/+0
| |
* | merge! default asset tag optionsJoshua Peek2012-10-151-12/+12
| |
* | Just check request instead of controller.requestJoshua Peek2012-10-151-13/+2
| |
* | Allow asset url config to be undefinedJoshua Peek2012-10-131-2/+4
| |
* | All asset url helpers should pass optionsJoshua Peek2012-10-121-24/+24
| |
* | Ensure AssetUrlHelper can be mixed into AC::BaseJoshua Peek2012-10-121-6/+13
| |
* | Refactor AssetUrlHelper to make it friendly for plugins and extensionsJoshua Peek2012-10-127-344/+240
| | | | | | | | | | | | | | | | Add asset_path/url helper for a consolidated entry point Expose compute_asset_path as a public API Expose compute_asset_host as a public API Move RAILS_ASSET_ID to its own module, AssetIdHelper Removed AV::AssetPaths
* | Add asset_path and asset_url helpersJoshua Peek2012-10-122-17/+54
|/