Design Patterns in RubyThis post is based on design patterns, that are described in the excellent book - “Design Patterns in Ruby” (by Russ Olsen).When i was reading the book
Ruby on Rails - Deploying to DigitalOcean
Published on Mar 11, 2014
Lectures from my CIS 284 - Ruby on Rails class at Spokane Community College.
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.