Rails

PostgreJSON

In PostgreSQL version 9.2, JSON storage functionality was introduced, so now it has the capability to be schema-less...

Sep 15, 2014 on Rails Ruby Postgres JSON  0

AngularJS on Rails

Recently, I have started looking into AngularJS, a popular front-end Javascript MVC, to help me write cleaner, better, front-end code...

Sep 16, 2014 on Rails JavaScript AngularJS  1

Using Redis for Autocompletion on Rails

For a website that has search functionality, you might want to have autocompletion, so when the user starts typing it automatically pops up suggestions...

Sep 30, 2014 on Rails Redis Performance  0

Devise on Rails

With most web apps, you'll want to have some type of authentication system so your users' data is secure...

Oct 07, 2014 on Rails Ruby Gem Devise Authentication  0

Devise Guest User

Using Devise in Ruby on Rails can be very convenient for authentication, but there are some necessary workarounds that you must be aware of, specifically whe...

Oct 09, 2014 on Rails Ruby Gem Devise Authentication SoftwarePatterns  0

Mock external services with a VCR

When creating an Rails App using TDD, sometimes you will come across the need for an external service, for example, using the Google Maps API...

Oct 10, 2014 on Rails Ruby TDD Gem  1

Raw SQL on Rails

ActiveRecord is fantastic, but sometimes if you are doing complex joins and such, you may need to move away from ActiveRecord and write raw SQL...

Oct 15, 2014 on Rails Ruby ActiveRecord SQL  1

You Got Your Params in My URL

Oftentimes as Rails developers, we will run into a situation where we are making something polymorphic, and we won't want to make any more controllers than m...

Oct 29, 2014 on Polymorphism Rails Ruby  0

Taggable Rails

The popular social media website Twitter has made features such as tagging through their system of hashtags very intuitive and fun...

Oct 30, 2014 on Rails Ruby Gem  0

Reduce Your SQL Queries With a Counter Cache

Counter caching is a technique to reduce the number or SQL queries when attempting to call count on a resources' association...

Nov 17, 2014 on Rails Ruby ActiveRecord SQL  0