Monthly Archives: March 2010

alias methods in ruby

Alias method in rubyRuby classes provides a alias_method that can be used to reuse the existing methods.Consider a situation where you need different methods which has same code and ONLY they have different names. In this case alias_method uses suits … Continue reading

Posted in Ruby | Tagged , | Leave a comment

Scottish Ruby Conference 2010 roundup-1

Following some inspirational talks with some great folks at Scottish Ruby Conference, I am going to apply the pomodoro technique for this blog post – 25 minutes of writing on this post! These are just some of the things you … Continue reading

Posted in Conferences, Ruby on Rails | Tagged | 2 Comments

nginx and thin installation and configuration

Install nginx server using following command apt-get install nginxEdit nginx configuration and add server block inside html block. server {    listen       80;    server_name  boost;     root /home/sandip/rails_app/public;     location / {        proxy_set_header  X-Real-IP  $remote_addr;       … Continue reading

Posted in Ruby on Rails | Tagged , , | 2 Comments