Modules and mixins in ruby

Before getting started with modules and mixins, lets first find out the need of module & mixins in OOP. In object oriented programming languages multiple inheritance is basic paradigm (child class extends behavior of base class). C++ supports multiple inheritance. Java does support same using interfaces. In ruby language, multiple inheritance is achieved very easily … Continue reading Modules and mixins in ruby

Integrate Gigya Register Widget into your Application

Updated post with source code available here. In today's world, with everyone managing multiple online accounts, it painful for users to create and remember yet another set of new credential just for your application. To overcome this issue we can use social networking API but this too has other drawbacks. For example, how many social … Continue reading Integrate Gigya Register Widget into your Application

Using Rackspace CloudFiles with paperclip

Thoughtbot (the makers of paperclip) have not yet integrated Rackspace CloudFiles into paperclip. CloufFiles is the Rackspace CDN storage (similar to S3 but with CDN support). CDN support is very critical when we are streaming large files like videos. Assumption: You know how paperclip works and have installed all paperclip pre-requisites like ImageMagick. Installation In the … Continue reading Using Rackspace CloudFiles with paperclip