aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* copy edits 137e5d9Xavier Noria2012-09-181-1/+1
|
* Add extra documentation for password_fieldArek W2012-09-181-1/+1
| | | | I think this should be explicit as the password fields behaviour is inconsistent with other fields in this regard. It had me scratching my head until I dug through the source code.
* Tidy up excerpt separator logic a bitCarlos Antonio da Silva2012-09-081-17/+11
|
* Refactor some date helpers to use merge!Carlos Antonio da Silva2012-09-081-5/+9
| | | | Also just set the hash value instead of merging when it's only one key.
* Add a separation option for the excerpt functionGuirec Corbel2012-09-081-11/+49
| | | | | | | | | | The separation option enable to keep entire words, lines or anything. To split by line, like github, we can set the separation option as \n. To split by word, like google, we can set the separation option as " ". The radius option represent the number of lines or words we want to have in the result. The default behaviour is the same. If we don't set the separation option, it split the text any where.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-011-0/+4
|\
| * reverting changes from commit b0896c38Sven Kraeuter | 5v3n2012-09-011-1/+1
| |
| * there is no "delete" action in a controllerSven Kräuter2012-08-311-1/+1
| |