Archive for the “Tutorials” category

Setting up simple OmniAuth authentication with Facebook

by Monica Olinescu on February 1, 2011

If you have watched Ryan Bates’ tutorial Simple OmniAuth you probably already know OmniAuth is awesome. Ryan doesn’t go into details about setting up OmniAuth with Facebook so this post has a couple of pointers to help out in that (…)

Read the rest of this entry »

Setting up a High Availability Ruby on Rails environment with keepalived, nginx, HA Proxy and Thin on Debian Lenny

by Razvan on May 15, 2010

Contents Configure Keepalived and Nginx Configure HA Proxy Configure Thin Overview Nginx and HA Proxy have similar functions: they can both be used as reverse proxies and load balancers. In our case Nginx will be the reverse proxy and HA (…)

Read the rest of this entry »

Building your own Lightbox with Javascript (part 1)

by Razvan on February 21, 2010

See the final result of part 1: Demo Why write your own lightbox? The simple answer is: to learn how it’s done. If you’re going to use if for an image gallery, embed flash and videos or even to load (…)

Read the rest of this entry »

Adding multiple images to a Rails model with paperclip

by Monica Olinescu on February 13, 2010

How to add multiple images to a rails model – all in one form!

How to set up tax rules for sales within Canada in Magento

by Monica Olinescu on August 17, 2009

Objective: Set up the taxation system for Magento for sales within different provinces of Canada. Entering the Tax Rates for Retail Sales in Canada The tax rates used in this example are listed below. DISCLAIMER: the rates and tax rules (…)

Read the rest of this entry »