Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update links and code examples in the guides to use HTTPS where the host ↵ | Nathaniel Suchy | 2019-03-06 | 1 | -3/+3 |
| | | | | supports it. | ||||
* | Revert "Merge pull request #35216 from CHTJonas/patch-1" | Ryuta Kamizono | 2019-02-11 | 1 | -1/+1 |
| | | | | | This reverts commit b46601b56d94a02d944ed9bd9494aeea9cba98c8, reversing changes made to 4e6737f18ab8f0d0e9fbe6f73a92e5d29f1c68f1. | ||||
* | Correct JavaScript example in guide [ci skip] | Charlie Jonas | 2019-02-10 | 1 | -1/+1 |
| | | | Swap `#users` jQuery selector to correct position and prevent the escaping of HTML. | ||||
* | Turbolinks is enabled by default in new apps [ci skip] | Prathamesh Sonpatki | 2018-10-03 | 1 | -4/+0 |
| | |||||
* | Rails guides are now served over https | Paul McMahon | 2018-07-24 | 1 | -1/+1 |
| | | | | | http links will be redirected to the https version, but still better to just directly link to the https version. | ||||
* | Fix stoppable events in tests and docs. | Dmytro Vasin | 2018-04-14 | 1 | -4/+6 |
| | |||||
* | Fix typos [ci skip] | Yauheni Dakuka | 2018-01-11 | 1 | -1/+1 |
| | |||||
* | Cosmetic changes [ci skip] | Yauheni Dakuka | 2017-11-30 | 1 | -1/+1 |
| | |||||
* | Merge pull request #30881 from dimroc/master | Vipul A M | 2017-11-25 | 1 | -36/+24 |
|\ | | | | | Update documentation to lead with ajax param `event.detail` [ci skip] | ||||
| * | Update documentation to lead with ajax param `event.detail` | Dimitri Roche | 2017-11-24 | 1 | -4/+9 |
| | | |||||
| * | Update documentation to lead with ajax param `event.detail` | Dimitri Roche | 2017-10-13 | 1 | -36/+19 |
| | | |||||
* | | Add accept-charset to the output of form_with in JS guide [ci skip] | Yoshiyuki Hirano | 2017-10-15 | 1 | -1/+1 |
|/ | |||||
* | Fix quotes [ci skip] | Yauheni Dakuka | 2017-09-18 | 1 | -1/+1 |
| | |||||
* | Fix grammar in guide [ci skip] | Yoshiyuki Hirano | 2017-08-28 | 1 | -6/+6 |
| | | | | * I've fixed grammar problems in the guide about JavaScript in Rails. | ||||
* | Use https instead of http in guide [ci skip] | Yoshiyuki Hirano | 2017-08-23 | 1 | -1/+1 |
| | |||||
* | Update working_with_javascript_in_rails.md | Guillermo Iguaran | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Update working_with_javascript_in_rails.md | Guillermo Iguaran | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | [ci skip] Fixed the attribute name for event.detail | Prathamesh Sonpatki | 2017-06-20 | 1 | -3/+3 |
| | |||||
* | Updated `working with javascript` readme to support the behavior of rails-ujs. | Dmytro Vasin | 2017-06-15 | 1 | -0/+29 |
| | |||||
* | Fix typo in guides | Kevin Kim | 2017-05-21 | 1 | -1/+1 |
| | |||||
* | Fix a typo in guide [ci skip] | Koichi ITO | 2017-05-11 | 1 | -1/+1 |
| | |||||
* | Small grammar fixes | Jon Moss | 2017-04-27 | 1 | -13/+13 |
| | | | | | | Will backport to 5-1-stable, since the original PR landed there. [ci skip] | ||||
* | Merge pull request #28904 from robin850/update-working-with-javascript | Rafael Mendonça França | 2017-04-27 | 1 | -35/+147 |
|\ | | | | | | | Update the "Working with javascript" guide | ||||
| * | Add documentation of data attributes for UJS [ci skip] | Robin Dupret | 2017-04-27 | 1 | -1/+97 |
| | | |||||
| * | Nest Action View remote helpers one level deeper [ci skip] | Robin Dupret | 2017-04-27 | 1 | -3/+5 |
| | | |||||
| * | Add a section with the different Ajax events [ci skip] | Robin Dupret | 2017-04-27 | 1 | -0/+36 |
| | | |||||
| * | Update the JavaScript guide to use `form_with` | Robin Dupret | 2017-04-27 | 1 | -29/+7 |
|/ | | | | | | | `form_with` is the new preferred method to deal with generation of HTML forms and it enables Ajax support by default. [ci skip] | ||||
* | Small grammar fix | Jon Moss | 2017-04-16 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Small grammar fixes | Jon Moss | 2017-04-16 | 1 | -2/+2 |
| | | | | [ci skip] | ||||
* | Fix link to rails-ujs | Ryunosuke Sato | 2017-03-30 | 1 | -1/+1 |
| | | | | | https://github.com/rails/rails-ujs is merged into actionview in favor of https://github.com/rails/rails/pull/28098. [skip ci] | ||||
* | Update some jquery-ujs references to rails-ujs | Jon Moss | 2017-03-18 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Minor syntax change | Zach | 2016-05-10 | 1 | -1/+1 |
| | | | While working on this very example recently, I found that Rails will throw POST errors if you leave an empty block in front the `format.js` when using either `remote: true` or vanilla JS/JQuery. | ||||
* | Update JavaScript guide for Turbolinks 5 | Sam Stephenson | 2016-02-23 | 1 | -6/+6 |
| | |||||
* | update turbolinks url [ci skip] | mabras | 2016-02-08 | 1 | -2/+2 |
| | |||||
* | doc changes | Larry Kyrala | 2016-02-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | | for rails/rails#23431 modified: guides/source/asset_pipeline.md * description of asset combination from apps and gems, e.g. jquery-rails * after @vipulnsward's related change rails/rails#23479 correction: --skip-sprockets will prevent all of these gems, not just sass-rails and uglifier modified: guides/source/working_with_javascript_in_rails.md * noted that rails.js requires the asset pipeline [ci skip] | ||||
* | Fix paintIt method in JavaScript guides [ci skip] | Prathamesh Sonpatki | 2015-12-13 | 1 | -2/+2 |
| | | | | | | - Changed "paintIt" to "@paintIt" so that it can be called in an on click handler. - Closes #22568 | ||||
* | Merge pull request #21195 from brooksreese/fix_broken_link_markup | Yves Senn | 2015-08-11 | 1 | -1/+1 |
|\ | | | | | | | [ci skip] Fix broken link markup | ||||
| * | [ci skip] Fix broken link markup | Brooks Reese | 2015-08-11 | 1 | -1/+1 |
|/ | |||||
* | correct example of button_tag [ci skip] | yuuji.yaginuma | 2015-08-02 | 1 | -1/+1 |
| | | | | wrapper div has been removed in cbb917455f306cf5818644b162f22be09f77d4b2 | ||||
* | Remove NOTE related to format.js [ci skip] | Prathamesh Sonpatki | 2015-06-09 | 1 | -4/+0 |
| | | | | | - The example for which this NOTE was written was removed in https://github.com/rails/rails/pull/20493. | ||||
* | Removed AJAX example with poor convention adherence | Daniel Steele | 2015-06-09 | 1 | -24/+0 |
| | | | The removed section promotes putting JS code directly inside the controller, this is not in line with convention. | ||||
* | Improving remote forms guides [ci skip] | Andrey Nering | 2015-02-16 | 1 | -0/+28 |
| | |||||
* | Fix link [ci skip] | Andrey Nering | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | - Changed `IN` to `ON` in markdown renderer condition | Vipul A M | 2015-01-14 | 1 | -1/+1 |
| | | | | - Changed `IN` to `ON` in all note sentences in guides. | ||||
* | warn about reading guides in GitHub | Xavier Noria | 2014-12-23 | 1 | -0/+2 |
| | | | | References #18148. | ||||
* | Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip] | John Kelly Ferguson | 2014-05-21 | 1 | -15/+15 |
| | |||||
* | Add preventDefault() on click event | Patrick Perey | 2014-03-07 | 1 | -1/+3 |
| | |||||
* | Fix coffeescript sample [ci skip] | David Fernandez | 2014-02-13 | 1 | -1/+1 |
| | | | Replace bind() with on() as suggested by the JQuery bind() documentation: https://api.jquery.com/bind/ | ||||
* | Improve document: working with javascript in rails [ci skip]. | Juanito Fatas | 2013-12-14 | 1 | -5/+15 |
| | | | | | | * Add form_tag generated output. * improve some text. * data-remote='true' should use double quotes. | ||||
* | Add events reference link to the text about jquery-ujs [ci skip] | Sadjow Leão | 2013-08-12 | 1 | -1/+1 |
| |