5 COMMENTs
Ruby
Robert Qualls, Mar 07

Improve Your Ruby with the Adapter Design Pattern

Robert Qualls looks at the Adapter Design pattern in various popular Ruby gems, following it up with an example implementation.
5 COMMENTs
Ruby
Katrina Owen, Mar 03

Improve the Smell of Your Code with Microrefactorings

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.
1 COMMENT
Ruby
Benjamin Tan Wei Hao, Feb 15

The How and Why of Property-Based Testing in Ruby

Benjamin Tan Wei Hao shows you are different kind of testing called "property-based testing". Generate 100s or 1000s or iterations for your tests.
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.
7 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Feb 08

Getting Started with Doorkeeper and OAuth 2.0

Ilya Bodrov-Krukowski continues the journey through Rails authentication and authorization options with this tutorial on how to get started with Doorkeeper.
1 COMMENT
Ruby
Kyle Szives, Feb 04

Action Cable and WebSockets: An in-Depth Tutorial

1 COMMENT
Ruby
Robert Qualls, Feb 01

Projects That Are Making Blazing Fast Ruby a Reality

Robert Qualls looks at 2 projects that could lift Ruby in to the upper echelon of fast languages. No, really. Fast Ruby could be a thing, soon.
1 COMMENT
Ruby
Robert Qualls, Jan 28

Hackable PDF Typesetting in Ruby with Prawn

Robert Qualls explores typesetting and hackable PDFs in Ruby. Learn how to quickly typeset and generate PDFs for some simple document needs.
Ruby
Hendra Uzia, Jan 25

Integrate Jasmine into Rails for Solid JavaScript Testing

A tutorial on how to integrate Jasmine into your Rails application by Hendra Uzia. Jasmine allows you to test your JavaScript functionality continuously.
Ruby
Ilya Bodrov-Krukowski, Jan 21

OAuth 2 All the Things with oPRO: Customization

Ruby
Abder-Rahman Ali, Jan 18

Ruby on Medicine: Working with Medical Images

A. Hasan applies Ruby to the medical domain, creating and viewing medical images. See how to encode and decode images, and use Tk to view them.
Ruby
Ilya Bodrov-Krukowski, Jan 14

OAuth 2 All the Things with oPRO: Users and API

Ilya Bodrov-Krukowski builds on the basics of OAuth 2 authenticaiton for Rails with oPRO, focusing on storing User data and accessing API endpoints.
2 COMMENTs
Ruby
Kingsley Silas, Jan 11

Learn the First Best Practices for Rails and RSpec

Kingsley Silas walks through a real Rails setup with RSpec. Learn some of the first best practices to kick start your Rails testing with RSpec.
4 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Jan 07

Authenticate All the Things with oPRO, the Basics

Ilya Bodrov-Krukowski continues looking at authentication options in the Rails community, this time focusing on oPRO, an OAuth2 provider engine.
Ruby
Glenn Goodrich, Jan 04

Ideas for Improving the Ruby Language in 2016

Glenn Goodrich takes a look at the goals for the Ruby language in 2016. Diversity and language improvements make up the top of the list.
1 COMMENT
Ruby
Glenn Goodrich, Dec 28

A Retrospective on Ruby in 2015

Glenn Goodrich takes a last look at 2015 in Ruby, treating the articles of the year a bit like features and stories in an Agile Retrospective meeting.
Ruby
Ilya Bodrov-Krukowski, Dec 22

Watch: Controller Testing with Ruby

In this video you will learn how to write controller specs and isolate them from other parts of your application with the help of mocks and stubs.
Ruby
Robert Qualls, Dec 21

Ruby Can Be Faster with a Bit of Rust

Robert Qualls introduces Rust to Rubyists, showing how to write a dynamic library to allow Ruby to consume Rust, making Ruby faster when it's done right.
Ruby
Jesse Herrick, Dec 17

Max out Your TDD with Maxitest and Minitest

Jesse Herrick shows you Maxitest and how it enhances TDD with Minitest. Maxitest makes your tests a bit more readable and easier to use. Check it out.
1 COMMENT
Ruby
Glenn Goodrich, Dec 15

How to Set Up a Rails App with CenturyLink’s AppFog & Bare Metal

How to set up a Ruby on Rails application with CenturyLink’s AppFog & Bare Metal.