Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | rewrote render tag using more succinct and idiomatic way | Chandresh Pant | 2013-06-17 | 1 | -3/+1 |
| | |||||
* | End-of-line whitespace hunt | Sunny Ripert | 2013-05-28 | 1 | -1/+1 |
| | |||||
* | Added link to Turbolinks Railscast | Prathamesh Sonpatki | 2013-03-21 | 1 | -0/+1 |
| | |||||
* | Fix CoffeeScript example | Ryunosuke SATO | 2013-02-10 | 1 | -1/+1 |
| | | | | `a[data-color]` is not used in example html. | ||||
* | Fix simple expression | Jude Arasu | 2013-01-13 | 1 | -1/+1 |
| | |||||
* | Update some code examples on the "Working with JavaScript in Rails" guide. | Lucas Mazza | 2013-01-05 | 1 | -31/+33 |
| | |||||
* | small fix in js guide [ci skip] | Vijay Dev | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | Fixed grammar in a lot of guide prologues. | Katie Oldaker | 2012-12-07 | 1 | -2/+2 |
| | |||||
* | Normalize on 'After reading this guide, you will know:' | Steve Klabnik | 2012-11-29 | 1 | -1/+3 |
| | | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere. | ||||
* | Add periods to the bullet points in guides. | Steve Klabnik | 2012-11-29 | 1 | -5/+5 |
| | | | | Talked with @fxn about this. Bullet points should have periods at the ends. | ||||
* | update turbolinks readme link [ci skip] | Vijay Dev | 2012-11-10 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-11-03 | 1 | -0/+1 |
| | | | | | | | Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb activerecord/lib/active_record/attribute_methods.rb guides/source/working_with_javascript_in_rails.md | ||||
* | Add syntax highlight to code blocks in javascript guide [ci skip] | Carlos Antonio da Silva | 2012-10-28 | 1 | -27/+25 |
| | |||||
* | Add backticks around link_to example in javascript guide [ci skip] | Carlos Antonio da Silva | 2012-10-28 | 1 | -0/+2 |
| | |||||
* | fix typo in button_to helper example | Michael Bashkirov | 2012-10-28 | 1 | -0/+1 |
| | |||||
* | JS guide: applies guides casing guidelines for titles [ci skip] | Xavier Noria | 2012-10-23 | 1 | -6/+6 |
| | |||||
* | JS guide: AJAX -> Ajax | Xavier Noria | 2012-10-23 | 1 | -17/+17 |
| | | | | We discussed this on Twitter, seems to be the best option. | ||||
* | renames the JS guide file name to match the new title [ci skip] | Xavier Noria | 2012-10-23 | 1 | -0/+390 |