aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/working_with_javascript_in_rails.md
Commit message (Collapse)AuthorAgeFilesLines
* [ci skip] Fixed the attribute name for event.detailPrathamesh Sonpatki2017-06-201-3/+3
|
* Updated `working with javascript` readme to support the behavior of rails-ujs.Dmytro Vasin2017-06-151-0/+29
|
* Fix typo in guidesKevin Kim2017-05-211-1/+1
|
* Fix a typo in guide [ci skip]Koichi ITO2017-05-111-1/+1
|
* Small grammar fixesJon Moss2017-04-271-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-javascriptRafael Mendonça França2017-04-271-35/+147
|\ | | | | | | Update the "Working with javascript" guide
| * Add documentation of data attributes for UJS [ci skip]Robin Dupret2017-04-271-1/+97
| |
| * Nest Action View remote helpers one level deeper [ci skip]Robin Dupret2017-04-271-3/+5
| |
| * Add a section with the different Ajax events [ci skip]Robin Dupret2017-04-271-0/+36
| |
| * Update the JavaScript guide to use `form_with`Robin Dupret2017-04-271-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 fixJon Moss2017-04-161-1/+1
| | | | [ci skip]
* Small grammar fixesJon Moss2017-04-161-2/+2
| | | | [ci skip]
* Fix link to rails-ujsRyunosuke Sato2017-03-301-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-ujsJon Moss2017-03-181-1/+1
| | | | [ci skip]
* Minor syntax changeZach2016-05-101-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 5Sam Stephenson2016-02-231-6/+6
|
* update turbolinks url [ci skip]mabras2016-02-081-2/+2
|
* doc changesLarry Kyrala2016-02-071-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 Sonpatki2015-12-131-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_markupYves Senn2015-08-111-1/+1
|\ | | | | | | [ci skip] Fix broken link markup
| * [ci skip] Fix broken link markupBrooks Reese2015-08-111-1/+1
|/
* correct example of button_tag [ci skip]yuuji.yaginuma2015-08-021-1/+1
| | | | wrapper div has been removed in cbb917455f306cf5818644b162f22be09f77d4b2
* Remove NOTE related to format.js [ci skip]Prathamesh Sonpatki2015-06-091-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 adherenceDaniel Steele2015-06-091-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 Nering2015-02-161-0/+28
|
* Fix link [ci skip]Andrey Nering2015-02-031-1/+1
|
* - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | - Changed `IN` to `ON` in all note sentences in guides.
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip]John Kelly Ferguson2014-05-211-15/+15
|
* Add preventDefault() on click eventPatrick Perey2014-03-071-1/+3
|
* Fix coffeescript sample [ci skip]David Fernandez2014-02-131-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 Fatas2013-12-141-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ão2013-08-121-1/+1
|
* rewrote render tag using more succinct and idiomatic wayChandresh Pant2013-06-171-3/+1
|
* End-of-line whitespace huntSunny Ripert2013-05-281-1/+1
|
* Added link to Turbolinks RailscastPrathamesh Sonpatki2013-03-211-0/+1
|
* Fix CoffeeScript exampleRyunosuke SATO2013-02-101-1/+1
| | | | `a[data-color]` is not used in example html.
* Fix simple expressionJude Arasu2013-01-131-1/+1
|
* Update some code examples on the "Working with JavaScript in Rails" guide.Lucas Mazza2013-01-051-31/+33
|
* small fix in js guide [ci skip]Vijay Dev2013-01-011-1/+1
|
* Fixed grammar in a lot of guide prologues.Katie Oldaker2012-12-071-2/+2
|
* Normalize on 'After reading this guide, you will know:'Steve Klabnik2012-11-291-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 Klabnik2012-11-291-5/+5
| | | | Talked with @fxn about this. Bullet points should have periods at the ends.
* update turbolinks readme link [ci skip]Vijay Dev2012-11-101-2/+2
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-031-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 Silva2012-10-281-27/+25
|
* Add backticks around link_to example in javascript guide [ci skip]Carlos Antonio da Silva2012-10-281-0/+2
|
* fix typo in button_to helper exampleMichael Bashkirov2012-10-281-0/+1
|
* JS guide: applies guides casing guidelines for titles [ci skip]Xavier Noria2012-10-231-6/+6
|
* JS guide: AJAX -> AjaxXavier Noria2012-10-231-17/+17
| | | | We discussed this on Twitter, seems to be the best option.