Ruby
Sarmad Sabih, Jun 27

Deliver the Mail with Amazon SES and Rails

Sarmad Sabih demonstrates configuring Amazon's Simple Email Service with Rails, allowing you a cheap email solution from your app.
1 COMMENT
Ruby
Vinoth, Jun 23

Liberate Your Search in Rails with Tags

Vinoth demonstrates how to take a complicated search model and open it up with tags. This is a tried and true approach to improving search on both ends.
4 COMMENTs
Ruby
Sarmad Sabih, Jun 20

Quick Tip: DRY Up Your Model Validations Tests

Sam Sarmad shows how he removed a ton of duplicated test code when testing ActiveModel validations.
66 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Jun 16

Create a Chat App with Rails 5, ActionCable, and Devise

Ilya Bodrov-Krukowski writes this very thorough tutorial on creating a chat application with Rails 5, ActionCable, and Devise. This goes through how to authorize users to that chat and protect your web sockets with Rails. Very cool!
9 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Jun 13

Make Easy Graphs and Charts on Rails with Chartkick

Ilya Bodrov-Krukowski shows you just how easy it is to make beautiful, interactive charts and graphs in your Rails app. Your users will love this.
2 COMMENTs
Ruby
Devdatta Kane, Jun 09

Expose Your Rails CRUD to the Browser with Databound

Devdatta Kane explores using Databound to expose the RESTful CRUD interface of a Rails app directly to javascript in the browser. 
11 COMMENTs
Ruby
Ilya Bodrov-Krukowski, May 26

Brush up Your Knowledge of Rails Associations

Ilya Bodrov-Krukowski brushes up your knowlege of ActiveRecord associations in Rails. This review is excellent and will certainly teach you something new.
2 COMMENTs
Ruby
Devdatta Kane, May 23

Generate Barcodes with JRuby and Barcodes4J

Devdatta Kane writes this interesting piece on creating barcodes with JRuby and the Barcodes4J library. This is cool stuff.
2 COMMENTs
Ruby
Nick Sutterer, May 16

Cells: A Deeper Look into Dependency Injection and Testing

Nick Sutterer, author of the Trailblazer framework, writes a deeper post on using the Cells gem to improve the Rails view layer.
Ruby
Kingsley Silas, May 12

An in-Depth Look at Basic Rails Routing

Kingsley Silas dives deep into the basics of routing in Rails. Understand how URLs are mapped and some of the more obscure ways to set routes in Rails
1 COMMENT
Ruby
Devdatta Kane, May 09

Easily Provide Excel Reports with Rails and jXLS

Devdatta Kane writes this straightforward tutorial on using jXLS and Rails to provide Excel reporting to your users. 
8 COMMENTs
Ruby
Devdatta Kane, Apr 28

An Introduction to Using JWT Authentication in Rails

Devdatta Kane defines JSON Web Tokens and shows how to use JWT authentication in Rails with Devise.
6 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Apr 25

Geocoder: Display Maps and Find Places in Rails

Ilya Bordrov-Krukowski pens this tutorial on using the Geocoder gem with Rails. Learn how to find addresses, use maps, and locate coordinates in your app.
6 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Apr 18

Speed Things up by Learning about Caching in Rails

Ilya Bodrov-Krukowski shows you how to speed up your app performance by demonstrating all the ways to cache in Rails.
14 COMMENTs
Ruby
Nick Sutterer, Apr 14

Introduction to Cells: A Better View Layer for Rails

Nick Sutterer, the author of Cells and Trailblazer, introduces Cells and how it makes Rails views better. Much better.
Ruby
Kingsley Silas, Apr 11

Rails File Uploading You Can Believe in with Shrine

Kingsley Silas writes this Ruby on Rails tutorial about file uploads with Shrine. Shrine is an excellent file uploading toolkit for Ruby.
Ruby
Ilya Bodrov-Krukowski, Apr 07

Generate Excel Spreadsheets with Rails and the Axlsx Gem

Ilya Bordrov-Krukowski shows you how to generate Excel files with Rails. Learn how to add style, formulas, and more in this useful tutorial.
3 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Mar 28

Zip It! Zip It Good with Rails and Rubyzip

Ilya Bordrov-Krukowski shows you how to accept and process a zip archive, as well as send one to your users.
6 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Mar 10

Onwards to Rails 5: Additions, Changes, and Deprecations

Ilya Bodrov-Krukowski goes through some of the "other" things changing in Rails 5. New classes, configuration options, and deprecations all make this list.
Ruby
Vinoth, Feb 29

A Quick Study of the Rails Directory Structure

Ruby on Rails is a full fledged web framework written in Ruby. It is one of the most famous web frameworks and makes getting started with development so easy. Today I would like to explain the default files and folders generated by Rails. Let's get started.

To create a new Rails app, all we have to do is run the following command:

rails new sample_app

The above command generates the directory structure that we're discussing today. It might change if you are using an older version of Rails. This article is based on the latest Rails version which, as of this writing, is 4.2.4. You can find the version installed in your system by typing this in the console

rails version
=> Rails 4.2.4
Ruby
Kingsley Silas, Feb 25

Easily Allow File Uploads with Rails and Refile

Kinsley Silas quickly runs through how to enable file uploads in your Rails app with Refile.
Ruby
Hendra Uzia, Feb 22

Put Your Finger on Triggers in Rails with HairTrigger

Hendra Uzia talks about using database triggers in Rails, the pros and cons, and how to use the HairTrigger gem to implement them.
1 COMMENT
Ruby
Ilya Bodrov-Krukowski, Feb 18

Tailor Doorkeeper with Refresh Tokens, Views, and Strategies

Ilya Bodrov-Krukowski gets a bit more advanced with Doorkeeper, securing the OAuth clients, creating a custom strategy, and customizing the views.
Ruby
Kingsley Silas, Feb 11

Quick Tip: Add ReCAPTCHA to Your Rails Application

Kingsley Silas runs throw a quick tutorial on adding Google ReCAPTCHA to your Rails application. He includes Devise integration as well. Very useful.