Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove obfuscation support from mail_to helper | Nick Reed | 2012-12-18 | 1 | -54/+12 |
| | | | | | | Removes support for :encode, :replace_at, and :replace_dot options from the mail_to helper. Support for these options has been extracted to the 'actionview-encoded_mail_to' gem. | ||||
* | added examples when options is string | Takehiro Adachi | 2012-11-29 | 1 | -3/+9 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-11-03 | 1 | -4/+4 |
|\ | | | | | | | | | | | | | 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 changes | AvnerCohen | 2012-10-29 | 1 | -4/+4 |
| | | |||||
* | | Make caller attribute in deprecation methods optional | Alexey Gaziev | 2012-10-30 | 1 | -2/+2 |
| | | |||||
* | | Fix failing tests and use new hash style in deprecation messages | Carlos Antonio da Silva | 2012-10-29 | 1 | -4/+4 |
| | | |||||
* | | Provide a call stack for deprecation warnings where needed. | Nikita Afanasenko | 2012-10-29 | 1 | -2/+6 |
|/ | | | | 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. | ||||
* | Update some code styles. | Rafael Mendonça França | 2012-10-06 | 1 | -50/+48 |
| | | | | | * Uses the Ruby 1.9 hash syntax * Avoid escaping " inside string using the %{} syntax | ||||
* | Accept :remote as symbol in link_to options | Riley Lynch | 2012-10-06 | 1 | -2/+5 |
| | | | | | Accept either :remote or 'remote' in both the html_options and (url_)options hash arguments to link_to. | ||||
* | Don't require action_dispatch in ActionView::UrlHelpers | Piotr Sarnacki | 2012-08-28 | 1 | -98/+16 |
| | | | | | | | | | | ActionDispatch::Routing::UrlFor was always required in UrlHelpers. This was changed by splitting previous implementation of UrlHelper into 2 modules: ActionView::Helpers::UrlHelper and ActionView::Routing::UrlHelper. The former one keeps only basic implementation of url_for. The latter adds features that allow to use routes and is only required when url_helpers or mounted_helpers are required. | ||||
* | copy edits [ci skip] | Vijay Dev | 2012-08-16 | 1 | -6/+7 |
| | |||||
* | Document the namespacing of controller actions per this discussion: | schneems | 2012-08-09 | 1 | -0/+11 |
| | | | https://github.com/rails/journey/issues/40 | ||||
* | Add back `:disable_with` and change deprecation horizon to 4.1 | Carlos Galdino + Rafael Mendonça França | 2012-07-21 | 1 | -2/+17 |
| | |||||
* | Add back `:confirm` and change deprecation horizon to 4.1 | Carlos Galdino + Rafael Mendonça França | 2012-07-21 | 1 | -0/+19 |
| | |||||
* | Remove `:confirm` in favor of `:data => { :confirm => 'Text' }` option | Carlos Galdino | 2012-07-18 | 1 | -22/+16 |
| | | | | | | | | | This applies to the following helpers: `button_to` `button_tag` `image_submit_tag` `link_to` `submit_tag` | ||||
* | Fix misprint in UrlHelper module | Alexey Vakhov | 2012-06-18 | 1 | -1/+1 |
| | |||||
* | Simplify link_to using content_tag | Carlos Antonio da Silva | 2012-05-31 | 1 | -12/+6 |
| | | | | Add some tests for link_to with blocks and escaping content. | ||||
* | Make link_to arguments explicit | Carlos Antonio da Silva | 2012-05-31 | 1 | -8/+4 |
| | |||||
* | Make button_to arguments explicit and refactor a bit | Carlos Antonio da Silva | 2012-05-31 | 1 | -10/+6 |
| | | | | Prefer Hash#[]= over Hash#merge when setting a value. | ||||
* | accept a block in button_to helper | Sergey Nartimov | 2012-05-30 | 1 | -3/+28 |
| | | | | | | | | | | | | | | | | Make possible to use a block in button_to helper if button text is hard to fit into the name parameter, e.g.: <%= button_to [:make_happy, @user] do %> Make happy <strong><%= @user.name %></strong> <% end %> # => "<form method="post" action="/users/1/make_happy" class="button_to"> # <div> # <button type="submit"> # Make happy <strong>Name</strong> # </button> # </div> # </form>" | ||||
* | Revert "Revert "Remove `:disable_with` in favor of `'data-disable-with'` ↵ | José Valim | 2012-05-15 | 1 | -4/+2 |
| | | | | | | | | | option from `submit_tag`, `button_tag` and `button_to` helpers."" Finally remove `:disable_with` but use `:data => { :disable_with => ... }` in examples to show off a better API (which looks nicer in Ruby 1.9) This reverts commit a5c38a9c087e33d36397afc496be7c8e01b37ef0. | ||||
* | Revert "Remove `:disable_with` in favor of `'data-disable-with'` option from ↵ | José Valim | 2012-05-15 | 1 | -2/+4 |
| | | | | | | | | | | `submit_tag`, `button_tag` and `button_to` helpers." `disable_with:` is much easier to type than `"data-disable-with" =>`, and the fact it uses "data-disable-with" => is an implementation concern, it should not affect the public API. This reverts commit 683fc4db00f496e5225928afb4d4e932e0fcdc48. | ||||
* | Use merge! instead reverse_merge! here | Santiago Pastorino | 2012-05-14 | 1 | -1/+1 |
| | |||||
* | Remove `:disable_with` in favor of `'data-disable-with'` option from ↵ | Carlos Galdino + Rafael Mendonça França | 2012-05-14 | 1 | -4/+2 |
| | | | | `submit_tag`, `button_tag` and `button_to` helpers. | ||||
* | Switch token_tag if block | Oscar Del Ben | 2012-05-05 | 1 | -3/+3 |
| | |||||
* | fix doc [ci skip] | Vijay Dev | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | Update documentation for button_to. | Shalva Usubov | 2012-05-04 | 1 | -1/+6 |
| | |||||
* | Remove unnecessary in HTML 5 type attribute with default value | Andrey A.I. Sitnik | 2012-04-05 | 1 | -2/+2 |
| | |||||
* | use content_tag in button_to helper | Sergey Nartimov | 2012-03-14 | 1 | -2/+3 |
| | |||||
* | Remove Active Resource source files from the repository | Prem Sichanugrist | 2012-03-13 | 1 | -1/+1 |
| | | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu. | ||||
* | Optimize url helpers. | Sergey Nartimov + José Valim | 2012-03-02 | 1 | -9/+14 |
| | |||||
* | consistently mention first patch, then put | Xavier Noria | 2012-02-24 | 1 | -1/+1 |
| | | | | | | There was a mix, sometimes patch first, sometimes put first. Use always patch first, since this is going to be the primary verb for updates. | ||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | Refactor button_to to avoid calling method#to_s twice | Carlos Antonio da Silva | 2012-01-25 | 1 | -23/+13 |
| | | | | | Reorganize button_to implementation a bit. Also small refactor on current_page? method. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-01-19 | 1 | -1/+1 |
|\ | |||||
| * | Fix small typo in mail_to docs in url_helper.rb | Simon Baird | 2012-01-19 | 1 | -1/+1 |
| | | |||||
* | | Extract method_tag | Rafael Mendonça França | 2012-01-19 | 1 | -1/+5 |
| | | |||||
* | | Refactor button_to helper to use token_tag method | Rafael Mendonça França | 2012-01-19 | 1 | -4/+10 |
|/ | |||||
* | remove unused private methods | Sergey Nartimov | 2012-01-13 | 1 | -16/+0 |
| | |||||
* | use Rack::Utils.escape_path | Sergey Nartimov | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | Refactor url_for helper to check for nil in the case statement only | Carlos Antonio da Silva | 2012-01-12 | 1 | -8/+8 |
| | |||||
* | Make button_to helper support "form" option which is the form attributes. | Wen-Tien Chang | 2011-09-29 | 1 | -5/+15 |
| | |||||
* | Merge pull request #2815 from avakhov/current-page-non-get-requests | Santiago Pastorino | 2011-09-05 | 1 | -0/+8 |
|\ | | | | | current_page? returns false for non-GET requests | ||||
| * | current_page? returns false for non-GET requests | Alexey Vakhov | 2011-09-02 | 1 | -0/+8 |
| | | |||||
* | | if ... nil? is more expensive than unless | Milan Dobrota | 2011-09-04 | 1 | -3/+3 |
|/ | |||||
* | Use typewriter styling on url_for in documentation | asmega | 2011-08-21 | 1 | -1/+1 |
| | |||||
* | Missed a few instances of British English spelling in the last commit | Oemuer Oezkir | 2011-07-24 | 1 | -1/+1 |
| | | | | oh and obviously I meant according to Webster, not Weber | ||||
* | Changed a few instances of of words in the API docs written in British ↵ | Oemuer Oezkir | 2011-07-24 | 1 | -4/+4 |
| | | | | | | English to American English(according to Weber) | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-23 | 1 | -10/+10 |
|\ | |||||
| * | grammar changes in named routes description and clarity around possibilities ↵ | Matt Jankowski | 2011-06-22 | 1 | -10/+10 |
| | | | | | | | | for options |