Rails shipped without jQuery as a dependency for the first time with version 5.1. Rails used to rely on jQuery for Unobtrusive JavaScript features but now ships with its own library rails-ujs with the same features.

One of the most common use cases for jQuery in Rails was making AJAX calls through forms and links. If you’re using Rails 5.1 for the first time, you might get confused about how to make AJAX calls, especially things like data formats and including CSRF tokens.

So this little tutorial walks you through a few ways you can do so.

If you're using a standard Rails form or link for AJAX calls, Rails still offers some great in-built methods. However, when you're not using those methods, for example when you're building a React UI for a Rails app, then you will find this tutorial helpful.

Swizec is a talented and accomplished software engineer, originally from Slovenia, now based in San Francisco.

Now he helps startups, having previously collaborated with MasterCard, Google, and Mashable, among others. A self-proclaimed writing addict, Swizec has published several books including Data Visualization with d3.js and Why programmers work at night, with tips on work-life balance, productivity, and programming flow.

His latest book is called React+D3.jsin which he teaches how to use React.js with D3.js for building modern interactive data visualizations.

In this interview, we discussed his beginnings as a tech whizzkid, writing about code, coding live, supporting indie tech writers, and using videos as the next hot thing in teaching programming. There was also an unexpected guest on the show!

IMPORTANT UPDATE (6 July 2017): With the release of Rails 5.1, Rails now has native support for using React via the webpacker gem. Check out the free lesson on how to do this in the Free React on Rails course or see this blog post.

There are a few different ways to use React inside Ruby on Rails apps. In this post, I'll cover 3 of the most popular ways.

Rails developers should learn React because there's growing market demand for developers who know both. Learning to use React will make you more money and a better developer.

In many ways, React is to the modern frontend, what Rails is to the backend - there are many alternatives, but React has the best combination of simplicity, power and community momentum to make it a great choice.

Web UIs have matured a lot over the last decade. We're doing more complex things to build better user experiences on the web. jQuery has served well but even a medium-sized project can now quickly turn into the Flying Spaghetti Monster. React offers a simple yet powerful alternative to spaghetti code.

Our latest guest on the Learnetto Podcast is Taylor Pearson, entrepreneur, marketing coach, and author of the bestselling book The End of Jobs, about a new landscape of the job market. We invited Taylor to talk about his background and the interesting thesis of his book - that in today's world it’s safer to start your own business than to work for someone else. Taylor and Hrishi also touched on community building, philosophy of economics, and history.

Disqus is the most popular, reliable and straightforward way of adding comments to your site without having to code it up from scratch yourself. It automatically handles user authentication, threaded comments, voting and spam control.

In this short tutorial, you'll learn how to add a commenting system to your Rails blog (or site) using Disqus.

On today's episode, Hrishi is speaking with Matt Isherwood, a user experience designer and instructor based in London. Matt is a UX design consultant specialising in e-commerce, marketplace websites, and mobile apps. He has years of experience in the luxury sector and working on UX strategy with startups. Matt writes a very popular and educational blog on his site, Mattish.com, where he teaches people about optimising user experience through data-driven design.

This is a guest post by Samir Talwar, a software developer based in London. Samir cares deeply about software quality and craftsmanship. You can read more of his writing on his excellent blog and follow him on Twitter.

In my last tutorial, we figured out how to host static web pages for free on GitHub pages. However, if you tried to host images or other large assets in the same fashion, you may have noticed that it's pretty slow. GitHub Pages was never designed to handle large files. In this article, we'll explore a much faster, yet extremely cost-effective solution for dealing with non-text data.

My blog, monospacedmonologues.com, is pretty text-heavy, but gets a sprinkling of pictures once in a while. The blog itself is really just a Tumblr blog, and so I don't host it anywhere I can store files. But that doesn't matter, because the images can be hosted anywhere.

The aim of this tutorial is to offer a simple introduction to LaTeX. It includes information on how to get the LaTeX system, what hacks to use, and how to get to like LaTeX.

I am a self-taught LaTeX user so I know from experience what initial issues beginners might have. I also believe that learning LaTeX offers you insights into writing, typography, and coding. Throughout this tutorial, I call them "general lessons." You can apply them to different aspects of your work and code, not only to writing in LaTeX.

Marko Vuletič is a Slovenian web & mobile UI/UX design professional. His work is centred around creating apps and websites which are visually pleasing, but, most importantly, functional and user-friendly. An app he redesigned, Moments, has been featured by the US App Store as the best new app. Marko also writes a popular blog and newsletter about designing apps in Sketch, called Sketch Tricks. He agreed to speak to Learnetto about it, as well as about what it means to be a UI/UX designer and how to learn design.

HM: Yeah, I’m very well, thank you! It’s nice to have you. Thanks for taking the time to speak to me today. Would you like to introduce yourself for the audience?

MV: Sure. So I’m Marko, I’m coming from Slovenia and I’m a UI/UX designer. I’m currently working on a personal project that’s called Sketch Tricks. It’s mainly a blog that I write about different workflows, about Sketch 2 and stuff like that. The other thing that I am doing is teaching people UI and UX fundamentals and stuff like that on my personal site which is markovuletic.com.

HM: Ok, great. That sounds great. And, yeah, that’s actually how I came across you, your site Sketch Tricks, which we’ll come to in a minute. Before we do that, I just wanted you to tell me a bit more about your background. How did you become a designer? How long have you been a designer?

Our guest on the fourth episode of the Learnetto podcast is Cindy Potvin, a Montreal-based software developer. Cindy started blogging about her experience of Android and web application development in October 2013 at blog.cindypotvin.com. Since then, her blog grew to include series "Learning as a Software Developer" and "Play and Learn as a Software Developer." Titles of the series summarise Cindy's goals well - she wants readers of her blog to enjoy their learning journey to becoming better developers.

Super excited to publish this interview! I recently spoke to Saul Costa, co-founder and CEO of Codevolve, an exciting new company which makes an amazing product for interactively learning computer programming. Go check it out.

This is a guest post by Samir Talwar, a software developer based in London. Samir cares deeply about software quality and craftsmanship. You can read more of his writing on his excellent blog and follow him on Twitter.

I run a few websites. The one that gets the most traffic right now is communitycodeofconduct.com, which is used by a number of software communities as a place to start thinking about how their community behaves to each other.

I host that site at zero charge.

GitHub Pages, and the decline of the server

I’m sure you know of GitHub already. It’s where people host their source code, both for their open-source projects and for private stuff. You may also have realised that many open-source software teams host their website on GitHub too. For example, the website of my favourite command-line tool, jq, is hosted on GitHub Pages, among many others.

In episode 3 of the Learnetto Podcast, I spoke to Laurence Bradford, a self-taught developer, who has been teaching herself how to code for 3 years. Having experienced the difficulties of the learning process first-hand, Laurence understands the most effective ways to obtain tech skills. Her website Learn to Code With Me, now receiving 50,000 unique visitors a month, aims to help those in the same position she was a little while ago. She also runs a popular Facebook group, offers career advice and has written a book.

Hrishi Mittal (HM): Welcome to the first episode of the Learnetto podcast. I am Hrishi Mittal, your host and the founder of Learnetto, an awesome new place for learning tech skills online. You can check us out at learnetto.com. So today, I am speaking to Kalob Taulien, the CTO of Xcellerator Tools and author of the complete web developer course and Ultimate HTML Developer course. Kalob is a very experienced software developer and teacher. He has taught web development to thousands of students through his online courses. Let’s listen to Kalob’s story.

This is a guest post by Juan Pablo Amaya, a product developer at CodeScrum. Codescrum is a software development company led by Jairo Diaz and focuses on creating user centric digital services and products for clients. This post originally appeared on the CodeScrum blog.

In a past post we shared a Rails starter template (rails-template) with a minimal base for building common rails applications. Now we want to show how to run the rails-template inside a Docker local machine and be able to do simple scale and load balancing.

The diagram below shows the architecture of the example. Basically we run one container for the Mongo database, one for the redis store and multiple containers for the Rails application and the Workers (Sidekiq). On top of that is the Nginx load balancer container that acts as a reverse proxy for the rails containers.

First things first - I'm not reading this book cover to cover. I'm using it as a hands-on how to guide to do specific things. I've read lots of books and blog posts in the past but never really used the lessons. So this time, I'm focusing on doing stuff rather than just reading.

One thing I'm working on next is offering a free course as an incentive for signing up.

I've been promoting the landing page on Twitter (using both my personal and business accounts).

I made a Twitter card. FINALLY. After trying and failing 10 times, I did it. Twitter makes it unnecessarily hard to do this. So I had just given up on it. But Justin lays out the process for doing this clearly in his book. Most important thing to remember: you need to add a credit card to your account to use this feature, but you won't be charged unless you run an ad campaign.

I've started sharing my process - in this very note you're reading now!

I've added analytics tracking using Segment. Again, Justin describes how to do this in his book very clearly. With Segment set up, I was able to start sending my analytics data to Mixpanel and Intercom.

Some more things which I have learnt from the book and want to do over the next few days and weeks (leading up to a launch) are as follows: