aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* handle protocol option in stylesheet_link_tag and javascript_include_tagVasiliy Ermolovich2012-12-181-2/+6
| | | | closes #8388
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-151-0/+412
|\ | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_helper.rb railties/lib/rails/info_controller.rb
| * repeating documentation for form helpersThiago Pinto2012-12-091-18/+406
| |
* | Improve the documentation of cache_if and cache_unlessRafael Mendonça França2012-12-141-4/+7
| |
* | Merge pull request #8497 from acapilleri/conditional_cacheRafael Mendonça França2012-12-141-12/+24
|\ \ | | | | | | | | | Removed :if / :unless conditions to fragment cache in favour of *cache_i...
| * | Removed :if and :unless from fragment cache option in favour ofAngelo capilleri2012-12-141-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cache_if(condition, option, &block) and cache_unless(condition, option, &block). In the PR #8371 was introduced conditional options :if and :unless in the cache method. Example: <%= cache @model, if: some_condition(@model) do %> ... <%end%> This is a good feature but *cache_if* and and *cache_unless* are more concise and close to the standard of rails view helpers (ex: link_to_if and link_to_unless). Example: <%= cache_if condition, @model do %> ... <%end%>
* | | Add missing require.Rafael Mendonça França2012-12-132-0/+3
|/ / | | | | | | | | I was trying to use those files without Rails and that require was missing.
* | Remove deprecation message from Action PackCarlos Antonio da Silva2012-12-111-1/+1
| | | | | | | | | | Related to the deprecation of Time.utc_time in favor of Time.utc, in 48583f8bf74d1cefefea3cd6591bd546a9eaff6c.
* | Revert "API reader should look elsewhere for helper instructions"Vijay Dev2012-12-091-24/+0
|/ | | | | | | | | This reverts commit ba2d867b2961b5ef72aad353c2d647b04654cbe3. Reason: https://github.com/lifo/docrails/commit/ba2d867b2961b5ef72aad353c2d647b04654cbe3#commitcomment-2276670 [ci skip]
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-082-2/+40
|\
| * API reader should look elsewhere for helper instructionsThiago Pinto2012-12-061-0/+24
| |
| * complementary options guidelines for f.file_field and file_field_tagThiago Pinto2012-12-062-0/+8
| |
| * adding example for f.file_inputThiago Pinto2012-12-061-0/+3
| |
| * adding example for f.file_inputThiago Pinto2012-12-061-0/+3
| |
| * correct bad jquery syntaxThiago Pinto2012-12-061-2/+2
| |
* | Allow fragment cache to accept :if and :unless optionsFabrizio Regini2012-12-051-1/+13
|/ | | | [Stephen Ausman + Fabrizio Regini]
* copy edits [ci skip]Vijay Dev2012-12-044-27/+18
|
* Cleans and removes 'Examples' tag [ci skip]Alvaro Pereyra2012-12-011-2/+0
|
* Cleans and removes useless 'Examples' tag [ci skip]Alvaro Pereyra2012-12-011-48/+43
|
* Add documentation to AssetTagHelper#image_alt [ci skip]Florent Guilleux2012-12-011-0/+3
|
* Fixes wrong typo on FormHelper [ci skip]Alvaro Pereyra2012-12-011-1/+1
|
* Cleans documentation from Helpers [ci skip]Alvaro Pereyra2012-12-015-121/+98
|
* Improves documentation of Capture helper [ci skip]Alvaro Pereyra2012-12-012-14/+13
|
* Removes :nodoc: tag on AtomFeedHelper [ci skip]Alvaro Pereyra2012-12-011-3/+3
|
* 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
|