Ruby on Rails Tutorials and Insights

Read the latest Ruby on Rails tutorials and insight to learn from the top Ruby and Rails developers. Start building your own Ruby on Rails app!

GET STARTED

Ruby on Rails tutorials, posts, and more

How I learned Ruby on Rails

About me Fullstack Laravel developer Why I wanted to learn Ruby on Rails I heard laravel or other php framework use concept from its How I approached learning Ruby on Rails from build real...
How I learned Ruby on Rails

Anatomy of Ruby Variables

In this post, I will look into what variables are, starting from their definition and move to exploring their use cases
Anatomy of Ruby Variables

Have Rails Partials Pull Data Directly For DRY Code and Easy Testability

Have Rails Partials Pull Data Directly For DRY Code and Easy Testability

Lessons learned from first attempt of dockerizing Ruby on Rails app

What I've learned when was trying Docker for the first time
Lessons learned from first attempt of dockerizing Ruby on Rails app

Ruby on Rails vs. Node.js ─ Which Backend Technology Should Beginners Learn?

This article is based on the Codementor Hour of Code Office Hour hosted by Steve Klabnik, an active open source contributor who has made 245 commits to Rails before. The audience asks Steve about whether programming beginners should learn Rails or Node.js as their first back-end language, and Steve’s answers are as below.

Avoid Instance Variables, Use Getters and Setters

Where's why you should use Getters and Setters to avoid instance variables.

Rails. Omniauth with devise (github example)

In this tutorial, you'll learn how to create simple apps with auth handling by github.

Localizing time in a Traditional Rails app with Moment.js

Learn how to localize time in a traditional Rails app through a Twitter clone and making this possible with ease using Moment.js.
Localizing time in a Traditional Rails app with Moment.js

JWT with Rails, Sorcery and AngularJS

Learn how to add JWT to a Rails and AngularJS codebase.

Creating a Simple API with Rails

This tutorial will try to explain in a few words how to create simple and RESTful APIs with Rails.
Creating a Simple API with Rails

Finding Performance Bottlenecks in Your Rails API

In this tutorial, we’re going to learn how to profile a Rails API and find performance bottlenecks with free, open-source tools. This method of profiling is only possible if you’re on Ruby 2.0 and above.
Finding Performance Bottlenecks in Your Rails API

How to Configure Your First Rails REST API

Time to create your first Rails REST API using JSON
How to Configure Your First Rails REST API

Express vs Rails: Framework Comparison using a Simple Game API

A side-by-side comparison of these two frameworks (and languages) would be excellent. To make the comparison fun, I decided to port a simple web-based game (named Pegger) to each framework.
Express vs Rails: Framework Comparison using a Simple Game API

Migrating from Rails to Sails: Comparison and Implementation Guide

If you plan on migrating from Rails to Sails, first let's compare their core concepts: from their background, down to their REST implementation.

Localization with Rails: Supporting Websites with Multiple Languages Using i18n & yml

If you're looking to develop a website in multiple languages, i18N and yml may be your answers. This tutorial offers a clear guide to utilizing these tools.
Localization with Rails: Supporting Websites with Multiple Languages Using i18n & yml

Integrating Travis CI in your Github project

In this tutorial, I am providing steps to integrate Travis CI into your public Ruby on Rails Github repository.
Integrating Travis CI in your Github project

How To Build a Blog using Froala-WYSIWYG

In this tutorial, we will build a blog using Ruby and make use of clearance for user authentication and Froala-WYSIWYG to provide a rich editor that will enable us to style our contents.
How To Build a Blog using Froala-WYSIWYG

Building A Basic Hacker News Clone with Rails 5

Learn how to build sites like Hacker News and reddit with Rails 5

Generating Test Data With FactoryGirl

While testing Rails applications, you often need sample data to try out features in your app. The general flow is to create some data, perform operations on them, then make assertions about the data or...

Export Records to CSV Files using Rails

Learn how to export records into CSV files using Ruby on Rails.
Export Records to CSV Files using Rails

Get curated posts in your inbox

Learn programming by reading more posts like this

YOU MAY ALSO BE INTERESTED IN

Share ideas
with an editor
built for developers

LEARN MORE