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

ruby on rails installation on fresh ubuntu machine

Ruby On Rails Installation on fresh ubuntu machine Installation steps are applicable to ubuntu versions interpid, karmic koala.Make necessary changes according to package manager provided by other linux operating systems in order install ruby and rails. Before getting started to … Continue reading

Posted in Ruby, Ruby on Rails | Tagged , | 1 Comment

Download Rails API to work offline

Command to download/copy rails api to work locally(offline) mode. wget -mk http://www.api.rubyonrails.org For more information click

Posted in Ruby, Ruby on Rails | Tagged | 1 Comment

Imagemagick/ RMagick Installation on ubuntu

ImageMagick Installation Ubuntu machine has default apt-get package manager.To install imagemagick following packages needs to be installed. apt-get install imagemagick librmagick-ruby libmagickwand-dev RMagick gem install gem install rmagick If you still facing problems with gem installation, Please look that following … Continue reading

Posted in Ruby on Rails | Tagged , , , | Leave a comment

RubyConf 2009 LT “Termtter”

Check out this SlideShare Presentation: Termtter ruby gem is provides a way to workwith twitter which is easy to use and integrate.Basically it can be used in ruby and rails applicationto get full control over twitter as like we have … Continue reading

Posted in Conferences, Ruby on Rails | Tagged | Leave a comment