How To Add jQuery and Ajax To Your Rails App
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
Thousands of these vids out there but you seem to be the only one who makes it all digestible. Great job once again.
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 !
Thanks man!!! You saved my Ass. (:
THANK YOU!!!!
After going through so many tutorials trying to understand how Ajax talk to Rails and back, I finally understand! Thank you Mike. Awesome stuff.
Great stuff Mike, you have a great way of making it look so easy - well done!
Dave Porter Thanks, Dave!
best explaination of ajax i watched ever. God bless u!
Really enjoyed how you made it look so clear and easy to understand. Big ups!
Great stuff! Very easy to follow along. Keep the videos coming!
great presentation of the material. clear, concise, and simple.
Really great video. So well done and easy to understand. Thanks so much!!
very clear explanation. I liked your way .. Please keep uploading such wonderful stuff!
Amazing video Mike ! Thanks. Looking forward to more videos from you.
Thank you very much Mike!! Great video :-)
Excellent tutorial!
Great video. Thanks a lot!
pretty good stuff! Thanks!
very clear! thanks!
Great video!
awesome stuff here!!!
Thanks Mike !
nice thank you Mike :)
Thank-you mike
Thanks!
Great video! you should organize your videos in a playlist, for example, one playlist just for ruby courses on your profile page.
Fantastic
helpful ty
I would love to see the gems your using... Etc, that would be very helpful in terms of setting this up. Ty
Lecture was very good, I am learner can you upload more video ...
you saved my ass! literally
Great tutorial bot how do we implement error messages with a failed ajax form submit?
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
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?
where can i find all videos of this series?
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.
@Mike can you please make video how to create image slider using rails. I have not found one single video about it. Thanks.
to create image slider, you need jquery or javascript not rails.
Plz make more videos
For folks following along, this link helped me setup Rails 5 to work with turbolinks stackoverflow.com/a/18770589/2909897
thank you!