A simple Configuration class in Ruby

Just in case you never heard of OpenStruct…

And this is how it can be implemented…

IceCube => Ruby Date Recurrence Library

I love that i found it :). Check it at ice_cube github repo. This is my first playing around code;

The output would look like this

Encrypt text in iPhone & decrypt it in your Rails server

What I did to perform the task is that i used RNCryptor in my IOS application.

And I engaged this gem to do the decryption in Rails.

Parsing an URL with Ruby

Can not be easier than this…