Deploying a Rails App on Ubuntu 14.04 with Capistrano, Nginx, and Puma
Rails is an open source web application framework written in Ruby. It follows the Convention over Configuration philosophy by making assumptions that there is the 'best' way of doing things. This allows you to write less code while accomplishing more without having you go through endless config files.
Rails security essentials
High-profile breaches of security are all too common in the news today. As web application developers, whether we like it or not, we need to be overly paranoid about security.
Ruby On Rails on Windows 10 Bash on Ubuntu Yes! It Is Possible!
I was wondering " Is it possible to install and run Ruby, Ruby On Rails on Windows 10 (Linux subsystem) Ubuntu Bash " and a short answer is YES!
Coverband gem to measure production code usage
A gem to measure production code usage, showing each line of code that is executed. Coverband allows easy configuration to collect and report on production code usage.
Materialized Views: Caching database query
A database view is a stored set of queries, which gets executed whenever a view is called or evoked. Unlike the regular tables, the view doesn’t occupy any physical space in your hard disk but its schema and everything is stored in the system memory.
Zero Downtime Migrations with ActiveRecord and PostgreSQL
As our database and traffic continued to grow, we discovered that certain migrations which appeared harmless actually caused table locking and, in some cases, downtime!
A Beginner's Guide to Exceptions in Ruby
Exceptions are Ruby's way of dealing with unexpected events.If you've ever made a typo in your code, causing your program to crash with a message like
NoMethodError, then you've seen exceptions in action.
Rails 5.1: Default Primary Keys Are Now BIGINT
Remember the Twitpocalypse? Back in 2009, Twitter ran out of Integers. Like most of us, they set up the primary key in their
tweetstable to be a 32-bit signed integer. Once they hit the magical number (2,147,483,647), servers were all but guaranteed to catch fire in the most spectacular fashion.
Refactoring Legacy Rails Controllers
Ruby on Rails controllers are like the bouncers of a nightclub. No identification at a club? You aren’t getting in. Without the proper clothes, you can expect to be turned away. Oh, you wanna say something slick?