How To Add jQuery and Ajax To Your Rails App

Sdílet
Vložit
  • čas přidán 19. 07. 2015
  • Build a complete Rails 5 web app step-by-step! → pragmaticstudio.com/rails
    Wondering how to get started adding JavaScript to your Rails app? In this brief video tutorial we show you how to add some effects with jQuery and send Ajax requests in a Rails 4 app!
  • Věda a technologie

Komentáře • 41

  • @brandondecarlo8619
    @brandondecarlo8619 Před 7 lety +3

    Thousands of these vids out there but you seem to be the only one who makes it all digestible. Great job once again.

  • @ARUN100BOLT
    @ARUN100BOLT Před 7 lety +8

    Excellent tutorial ! A note here is if your rails app uses turbo-links 5 , change the $(document).on "page:change", -> to $(document).on "turbolinks:load", -> to get the coffee script working !

  • @mass13982
    @mass13982 Před 8 lety

    After going through so many tutorials trying to understand how Ajax talk to Rails and back, I finally understand! Thank you Mike. Awesome stuff.

  • @DavePerth
    @DavePerth Před 9 lety +11

    Great stuff Mike, you have a great way of making it look so easy - well done!

  • @idelopes9359
    @idelopes9359 Před 6 lety

    best explaination of ajax i watched ever. God bless u!

  • @samtoya
    @samtoya Před 7 lety

    Really enjoyed how you made it look so clear and easy to understand. Big ups!

  • @johncato478
    @johncato478 Před 8 lety

    Great stuff! Very easy to follow along. Keep the videos coming!

  • @cathycullen8851
    @cathycullen8851 Před 7 lety

    great presentation of the material. clear, concise, and simple.

  • @11889music
    @11889music Před 8 lety

    Really great video. So well done and easy to understand. Thanks so much!!

  • @aladdinovich
    @aladdinovich Před 8 lety

    very clear explanation. I liked your way .. Please keep uploading such wonderful stuff!

  • @niyantazamindar4019
    @niyantazamindar4019 Před 8 lety

    Amazing video Mike ! Thanks. Looking forward to more videos from you.

  • @Quintenkonijn
    @Quintenkonijn Před 8 lety

    Thank you very much Mike!! Great video :-)

  • @Spoons4Hands
    @Spoons4Hands Před 6 lety

    Excellent tutorial!

  • @bradchellingworth5973
    @bradchellingworth5973 Před 8 lety

    Great video. Thanks a lot!

  • @lucianooliveira5188
    @lucianooliveira5188 Před 6 lety

    pretty good stuff! Thanks!

  • @mxmercy
    @mxmercy Před 7 lety

    very clear! thanks!

  • @likeuwill
    @likeuwill Před 6 lety

    Great video!

  • @thatosello9793
    @thatosello9793 Před 8 lety

    awesome stuff here!!!

  • @fabriziobertoglio7342
    @fabriziobertoglio7342 Před 7 lety

    Thanks Mike !

  • @adeyahyap
    @adeyahyap Před 8 lety

    nice thank you Mike :)

  • @SRINIVAS08478
    @SRINIVAS08478 Před 8 lety

    Thank-you mike

  • @paulodetarsobezerra8482

    Thanks!

  • @rubencg195
    @rubencg195 Před 7 lety

    Great video! you should organize your videos in a playlist, for example, one playlist just for ruby courses on your profile page.

  • @chrismcclure4264
    @chrismcclure4264 Před 7 lety

    Fantastic

  • @ylmazmehmeth
    @ylmazmehmeth Před 6 lety

    helpful ty

  • @corpllc472
    @corpllc472 Před 7 lety

    I would love to see the gems your using... Etc, that would be very helpful in terms of setting this up. Ty

  • @jitendrakushvaha7281
    @jitendrakushvaha7281 Před 7 lety

    Lecture was very good, I am learner can you upload more video ...

  • @danielrocha941
    @danielrocha941 Před 8 lety

    you saved my ass! literally

  • @robertoconnor7633
    @robertoconnor7633 Před 8 lety +1

    Great tutorial bot how do we implement error messages with a failed ajax form submit?

  • @franciscojoya4745
    @franciscojoya4745 Před 7 lety

    Great video. I am trying to do something similar but with math. I have a form and in that form I have 3 fields (hours_worked, rate, pay_amount). I want to calculate the product of hours_worked and rate as the user types it in, and display it in the pay_amount field.
    I can do the calculation with a rails method but only after I click the "submit" button which saves to the database. I want to show the total pay amount before submitting the form.
    How can I achieve this? thanks

  • @mathiasspurr4922
    @mathiasspurr4922 Před 8 lety

    When having lots of comments, with a lot of styling and btns. My Jquery function laggs in the browser. The slideToggle functions is not "sliding" but rather "lagging.". Why is that? and is there a solution to fix that?

  • @VoDanh-nx5km
    @VoDanh-nx5km Před 8 lety

    where can i find all videos of this series?

  • @adegbitekelvin3875
    @adegbitekelvin3875 Před 6 lety

    Thank you for this tutorial. Please i have been struggling to also delete comments via ajax but i don't seem to get it right. Help Please.

  • @orujgadimov4420
    @orujgadimov4420 Před 7 lety

    @Mike can you please make video how to create image slider using rails. I have not found one single video about it. Thanks.

    • @foliwe
      @foliwe Před 7 lety

      to create image slider, you need jquery or javascript not rails.

  • @shubhashshivade6658
    @shubhashshivade6658 Před 2 lety

    Plz make more videos

  • @mbigras
    @mbigras Před 7 lety +1

    For folks following along, this link helped me setup Rails 5 to work with turbolinks stackoverflow.com/a/18770589/2909897