Archive for May, 2009

setting app.config for different environments

Posted on May 28th, 2009 by Koiti Takahashi

Imagine the following scenario: You have a project that you just developed in your local machine and want to deploy it into the CI (Continuous Integration) and approval environments. In this project, there is a configuration file (app.config) that contains a few settings, for instance, connection strings and log file directory.
Quite common isn’t it? So, [...]

Posting and Getting files in ruby/rails

Posted on May 23rd, 2009 by macskeptic

Today I’m going to show some very short snippet about posting files with ruby, and receiving them in a rails controller.
For all examples I’ll be using the rest-client gem (”sudo gem install rest-client”).
The fist thing we’re going to do is to implement a very basic file post in ruby - there is basically two methods:

You [...]

CouchDB - Quick Tip

Posted on May 10th, 2009 by macskeptic

A quick tip for those who want to get a grasp on what CouchDB actually is before actually going to the trouble of setting up the whole environment (Erlang + CouchDB installation process seems to be a pain on Windows).
A friend of mine, who got all hyped about it when I told him about CouchDB [...]

RikMigrations: A Quick Introduction

Posted on May 9th, 2009 by macskeptic

It has been around 4 months that I have been playing with ruby and rails for personal projects and the fun and efficiency of working with it is pretty much awesome to say the least - specially since I love doing web applications and, even though I enjoy developing with C#, I totally hate doing [...]