aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Removes unneeded 'Example' tags and whitespaces [ci skip]Alvaro Pereyra2012-12-011-45/+42
|
* 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
|
* 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
|
* 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
* document :hidden_field_id option for fields_forYves Senn2012-11-241-0/+5
|
* 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
* 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-0316-314/+314
|\ | | | | | | | | | | | | 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-2916-299/+299
| |
| * 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-307-14/+13
| |
* | Fix failing tests and use new hash style in deprecation messagesCarlos Antonio da Silva2012-10-293-15/+15
| |
* | Provide a call stack for deprecation warnings where needed.Nikita Afanasenko2012-10-296-13/+29
| | | | | | | | 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
* 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.
* Extend date_select helper functionality.Pavel Nikitin2012-10-181-0/+3
|
* 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
|
* :fire: Rails asset id supportJoshua Peek2012-10-152-155/+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-124-200/+238
| | | | | | | | 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
|
* Split asset url helpers into seperate AssetUrlHelperJoshua Peek2012-10-124-419/+414
|
* Remove old asset tag concatenationJoshua Peek2012-10-103-366/+16
| | | | Use sprockets, jammit, or some other asset bundler
* Fix nodoc commentRafael Mendonça França2012-10-071-16/+15
|
* More Ruby 1.9 hash syntax.Rafael Mendonça França2012-10-061-52/+47
|
* We don't need to check blank? here.Rafael Mendonça França2012-10-061-1/+1
| | | | | | | | Also the blank? check introduced a bug. $ rails generate model Foo blank:boolean form_for(Foo.new(:blank => true)) => ArgumentError, "First argument in form cannot contain nil or be empty"
* Update some code styles.Rafael Mendonça França2012-10-061-50/+48
| | | | | * Uses the Ruby 1.9 hash syntax * Avoid escaping " inside string using the %{} syntax
* Accept :remote as symbol in link_to optionsRiley Lynch2012-10-061-2/+5
| | | | | Accept either :remote or 'remote' in both the html_options and (url_)options hash arguments to link_to.
* Add nodoc to now public fragment_name_with_digestRyan Garver2012-10-041-0/+1
|
* Merge branch 'master' into feature/public-fragment_name_with_digestRyan Garver2012-10-021-2/+2
|\
| * Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-281-2/+2
| |\ | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/asset_tag_helper.rb
| | * update image_tag output in examples to actualNihad Abbasov2012-09-251-4/+4
| | | | | | | | | [ci-skip]
* | | Move the CacheHelper#fragment_name_with_digest to be public so custom ↵Ryan Garver2012-09-271-11/+11
|/ / | | | | | | fragment caching can benefit from it.
* | change ^ and $ anchors in regexp to \A and \z respectivelyNihad Abbasov2012-09-251-1/+1
| | | | | | | | http://guides.rubyonrails.org/security.html#regular-expressions
* | allow to pass numerical value to size option in image_tagNihad Abbasov2012-09-251-4/+5
|/ | | | | This will set image's both width and height attributes to value passed in size option.