<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2522771784182457557</id><updated>2012-02-16T16:58:43.310-08:00</updated><category term='phpMyAdmin'/><category term='RubyGem'/><category term='Ubuntu'/><category term='grant access'/><category term='installation'/><category term='MySQL'/><category term='Javascript'/><category term='Linux'/><category term='Configuration of phpMyAdmin'/><category term='th'/><category term='insert HTML Tag'/><title type='text'>RoR Zone</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-7748739734370584684</id><published>2010-03-22T23:43:00.000-07:00</published><updated>2010-03-22T23:51:56.015-07:00</updated><title type='text'>city_select plugin to display list of indian city in dropdown list</title><content type='html'>city_select - city_select is the plugin which is basically used for to display the list of indian cities as a drop down list.&lt;br /&gt;&lt;br /&gt;The implementation is simple&lt;br /&gt;&lt;br /&gt;.script/plugin install git@github.com:abhishekpshukla/city_select.git&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have implemented it using jquery.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;script-start&gt;$("#user_state").change(function() {var id=('#user_state').attr("value"); $.ajax({url: "update_city/"+id, dataType: "script", type: 'get' })});&lt;/script-end&gt;&lt;br /&gt;&lt;br /&gt;NOTE:&lt;br /&gt;. "#user_state" is the dropdown list which contain the list of state name(I have consider the value of user_state as a FULL STATE NAME(for e.g. "Maharashtra") instead of STATE CODE).&lt;br /&gt;&lt;br /&gt;Make a render file let say _city_select.erb and inside the controller render the _city_select.erb file and parse the selected state&lt;br /&gt;&lt;br /&gt;Feel free to add a city if I am missing one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thansk&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-7748739734370584684?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/7748739734370584684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=7748739734370584684' title='37 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/7748739734370584684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/7748739734370584684'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2010/03/cityselect-plugin-to-display-list-of.html' title='city_select plugin to display list of indian city in dropdown list'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>37</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-3232680391895589457</id><published>2009-10-08T12:32:00.000-07:00</published><updated>2009-10-08T12:33:40.058-07:00</updated><title type='text'>Ruby, class and some random stuff - Module, inheritance, MLI</title><content type='html'>module NowModule&lt;br /&gt;&lt;br /&gt;    class NowModuleOne&lt;br /&gt;       &lt;br /&gt;        class &lt;&lt; self&lt;br /&gt;            def find&lt;br /&gt;                p "This is intresting!!!"&lt;br /&gt;            end&lt;br /&gt;        end&lt;br /&gt;    end&lt;br /&gt;   &lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;class Parent &lt; NowModule::NowModuleOne&lt;br /&gt;    def parentone&lt;br /&gt;        puts "This is the parent class!!!"&lt;br /&gt;        #parentprotected&lt;br /&gt;        #parentprivate&lt;br /&gt;    end&lt;br /&gt;   &lt;br /&gt;    class &lt;&lt; self&lt;br /&gt;        def parentself&lt;br /&gt;            puts "This is the self one!!!"&lt;br /&gt;        end&lt;br /&gt;    end&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;    protected&lt;br /&gt;    def parentprotected&lt;br /&gt;        puts "This is the protect one!!!"&lt;br /&gt;    end&lt;br /&gt;   &lt;br /&gt;    private&lt;br /&gt;   &lt;br /&gt;    def parentprivate&lt;br /&gt;        puts "This is the private one!!!"&lt;br /&gt;    end&lt;br /&gt;   &lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;#example of inheritance....&lt;br /&gt;class Child &lt; Parent&lt;br /&gt;    def childone&lt;br /&gt;        Parent.find&lt;br /&gt;        p parentone&lt;br /&gt;        puts "This is the child class!!!"&lt;br /&gt;    end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;#example of multiple level inheritance&lt;br /&gt;class ChildOfChild &lt; Child&lt;br /&gt;    def childofchildone&lt;br /&gt;        #the parentone belongs to the parent class which a base class for the Child class..&lt;br /&gt;        parentone&lt;br /&gt;    end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;p = Parent.new&lt;br /&gt;c = Child.new&lt;br /&gt;cc = ChildOfChild.new&lt;br /&gt;#cc.childofchildone&lt;br /&gt;c.childone&lt;br /&gt;#c.parentpivate&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-3232680391895589457?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/3232680391895589457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=3232680391895589457' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/3232680391895589457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/3232680391895589457'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2009/10/ruby-class-and-some-random-stuff-module.html' title='Ruby, class and some random stuff - Module, inheritance, MLI'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-8393911603441758504</id><published>2009-09-28T14:02:00.000-07:00</published><updated>2009-09-28T14:08:04.547-07:00</updated><title type='text'>Connect to database using ruby and ActiveRecord</title><content type='html'>To get connected you database from your ruby file just include the "ActiveRecord" inside your ruby file.&lt;br /&gt;&lt;br /&gt;require 'rubygems'&lt;br /&gt;require 'activerecord'&lt;br /&gt; &lt;br /&gt;#establish the connection.&lt;br /&gt;  ActiveRecord::Base.establish_connection(&lt;br /&gt;  :adapter =&gt; "mysql",&lt;br /&gt;  :database =&gt; "database",&lt;br /&gt;  :username =&gt; "username",&lt;br /&gt;  :password =&gt; "password",&lt;br /&gt;  :host =&gt; "localhost"&lt;br /&gt;  )&lt;br /&gt; &lt;br /&gt;  #create a class inherit with you activerecord base class.&lt;br /&gt;  class User &lt; ActiveRecord::Base&lt;br /&gt;  end&lt;br /&gt;&lt;br /&gt; user = User.find(:first)&lt;br /&gt; puts user&lt;br /&gt;  Or&lt;br /&gt;&lt;br /&gt;  class SomeThing &lt; ActiveRecord::Base&lt;br /&gt;     set_table_name :users&lt;br /&gt;  end&lt;br /&gt;&lt;br /&gt; user = SomeThing.find(:first)&lt;br /&gt;  puts user&lt;br /&gt;&lt;br /&gt;That's It.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-8393911603441758504?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/8393911603441758504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=8393911603441758504' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8393911603441758504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8393911603441758504'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2009/09/connect-to-database-using-ruby-and.html' title='Connect to database using ruby and ActiveRecord'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-8488942487708256860</id><published>2009-09-28T13:33:00.000-07:00</published><updated>2009-09-28T13:44:28.080-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='th'/><title type='text'>Ruby Mysql database connectivity</title><content type='html'>In this section I am going to tell you how do you get connected your MySQL database using Ruby.&lt;br /&gt;&lt;br /&gt;Make sure that you have install mysql adapter&lt;br /&gt;To verify you mysql file go to command prompt type irb -&gt; require 'mysql' if it's return true that means the file is loaded.&lt;br /&gt;&lt;br /&gt;Now use your fav editor let say scite.&lt;br /&gt;&lt;br /&gt;require 'rubygems'&lt;br /&gt;require 'mysql'&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;   #establish a connection.&lt;br /&gt;   mysql = Mysql.real_connect("hostname(e.g - localhost)", "username", "password",   "databasename")&lt;br /&gt;   result = mysql.query("SELECT * FROM USERS;")&lt;br /&gt;      result.each do |row|&lt;br /&gt;        row.each do |col|&lt;br /&gt;          puts col&lt;br /&gt;        end&lt;br /&gt;      end&lt;br /&gt;    #the col object will return the value from the users table.&lt;br /&gt;    # if you want to insert a record. then&lt;br /&gt;    mysql.query("INSERT INTO users (email) VALUES ('example@example.com')")&lt;br /&gt;   #this is how you can edit delete the records...&lt;br /&gt;rescue Exception =&gt; e&lt;br /&gt;    puts "I guess something went wrong. #{e}"&lt;br /&gt;ensure&lt;br /&gt;    # clone the connection...&lt;br /&gt;    mysql.close if mysql&lt;br /&gt;end&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-8488942487708256860?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/8488942487708256860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=8488942487708256860' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8488942487708256860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8488942487708256860'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2009/09/ruby-mysql-database-connectivity.html' title='Ruby Mysql database connectivity'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-1139166890551692290</id><published>2009-09-11T23:08:00.000-07:00</published><updated>2009-09-11T23:12:23.970-07:00</updated><title type='text'>bash: cap: command not found</title><content type='html'>&lt;span style="font-weight: bold;"&gt;bash: cap: command not found&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this post I'll be talking about how to resolve the “bash: cap: command not found” issue. Even after installing Capistrano we get the following error “bash: cap: command not found” the reason behind this is that the path is not decalred in bash file, so to fix the problem you have to add the following line on code inside bashrc file&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 1&lt;/span&gt;&lt;br /&gt;#go to Terminal&lt;br /&gt;#type&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo gedit ~/.bashrc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2&lt;/span&gt;&lt;br /&gt;#Add the following line at the bottom of the file.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;export PATH=$PATH:/home/user/.gem/ruby/1.8 &lt;/span&gt;&lt;br /&gt;#save and close&lt;br /&gt;# To find the installation of you gem just run the following command&lt;br /&gt;#gem list -d c&lt;br /&gt;# capistrano (2.5.8)&lt;br /&gt;# Authors: Jamis Buck, Lee Hambley&lt;br /&gt;# Rubyforge: http://rubyforge.org/projects/capistrano&lt;br /&gt;#  Homepage: http://www.capify.org&lt;br /&gt;#  &lt;span style="font-weight: bold;"&gt;Installed at: /home/user/.gem/ruby/1.8 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3&lt;/span&gt;&lt;br /&gt;#From command prompt&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;source ~/.bashrc&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-1139166890551692290?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/1139166890551692290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=1139166890551692290' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/1139166890551692290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/1139166890551692290'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2009/09/bash-cap-command-not-found.html' title='bash: cap: command not found'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-7584012412151292628</id><published>2009-09-09T03:15:00.001-07:00</published><updated>2009-09-09T03:37:22.798-07:00</updated><title type='text'>File Upload using AJAX and jQuery.</title><content type='html'>File Upload using AJAX and jQuery.&lt;br /&gt;&lt;br /&gt;File upload using jQuery is preety simple.&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;  jQuery.noConflict();&lt;br /&gt; jQuery(document).ready(function(){&lt;br /&gt;                &lt;br /&gt;                jQuery("#button").bind("click", function() {&lt;br /&gt;                    /* Generating unique id&lt;br /&gt;                    06.    */&lt;br /&gt;                    var rand = Math.random().toString().split(".")[1];&lt;br /&gt;                    var input = '&lt;input type="file" class="images['+rand+']" name="uploaded[]"&gt;'&lt;br /&gt;                    jQuery(this).before('&lt;br/&gt;' + input );&lt;br /&gt;                });&lt;br /&gt;        &lt;br /&gt;                /* Pushing the first input to the DOM&lt;br /&gt;                */&lt;br /&gt;                jQuery("#button").trigger("click");&lt;br /&gt; });&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;NOTE: please include the jQuery Library afer prototype.js&lt;br /&gt;&lt;br /&gt;As you can in the above example I had declared “jQuery.noConflict();” the reason behind this is to abvoid the conflict between jQuery library and prototype.js.&lt;br /&gt;&lt;br /&gt;&lt;% remote_form_for :some_random_name, @some_object,          :url =&gt; {:action =&gt; 'testtest'},&lt;br /&gt;  :html =&gt; { :multipart =&gt; true, :id =&gt; "upload_form" } do |f| %&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;%= file_field_tag "test" "uploaded" %&gt;&lt;br /&gt;     &lt; id="button" class="button" value="Add File" type="button"&gt;&lt;br /&gt;      &lt; id="save" class="save" value="Upload" type="submit"&gt;&lt;br /&gt;&lt;%end%&gt;&lt;br /&gt;&lt;br /&gt;Thats it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-7584012412151292628?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/7584012412151292628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=7584012412151292628' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/7584012412151292628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/7584012412151292628'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2009/09/file-upload-using-ajax-and-jquery.html' title='File Upload using AJAX and jQuery.'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-4231758015582559890</id><published>2009-05-25T23:35:00.000-07:00</published><updated>2009-05-25T23:37:18.196-07:00</updated><title type='text'>How to integrate Comatose CMS in your rails application.</title><content type='html'>Comatose CMS Yet another Micro CMS, when your client may use to create and edit easily a static pages like privacy policy, terms &amp;amp; conditions, an FAQ, that kind of thing.&lt;br /&gt;&lt;br /&gt;Installation of Camotose.&lt;br /&gt;$ ./script/plugin install git://github.com/darthapo/comatose.git&lt;br /&gt;$ ./script/generate comatose_migration&lt;br /&gt;$ rake db:migrate&lt;br /&gt;&lt;br /&gt;Once the above mentioned command is executed then configure your route file, at the bottom of your route file paste the below mention syntax&lt;br /&gt;map.comatose_admin&lt;br /&gt;map.comatose_root ''&lt;br /&gt;&lt;br /&gt;That it now you to access the Camotose simply type&lt;br /&gt;http://localhost:3000/comatose_admin&lt;br /&gt;&lt;br /&gt;You can configure you comatose on your config/environment.rb file, but i'll suggest you to create a comatose.rb inside your config/initializers folder, and insert the following code.&lt;br /&gt;&lt;br /&gt;Comatose.configure do |config|&lt;br /&gt;  config.admin_title          = 'YOUR site name CMS SYSTEM'  # it cab anything...&lt;br /&gt;  config.admin_helpers        = []&lt;br /&gt;  config.admin_sub_title      = 'Administration Pages'&lt;br /&gt;  config.content_type         = 'utf-8'&lt;br /&gt;  config.default_filter       = ''&lt;br /&gt;  #config.default_processor    = :liquid&lt;br /&gt;  config.default_tree_level   = 3&lt;br /&gt;  config.disable_caching      = false&lt;br /&gt;  config.hidden_meta_fields   = 'filter'&lt;br /&gt;  config.helpers              = []&lt;br /&gt;  config.includes             = []&lt;br /&gt;  # These are 'blockable' settings&lt;br /&gt;  config.authorization        = Proc.new { true }&lt;br /&gt;  config.admin_get_author     = Proc.new { request.env['REMOTE_ADDR'] }&lt;br /&gt;  config.after_setup          = Proc.new { true }&lt;br /&gt;&lt;br /&gt;   # Includes AuthenticationSystem in the ComatoseAdminController&lt;br /&gt;   config.admin_includes &lt;&lt; :authenticated_system&lt;br /&gt;&lt;br /&gt;   # Calls :login_required as a before_filter&lt;br /&gt;   config.admin_authorization = :login_required&lt;br /&gt;&lt;br /&gt; end&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-4231758015582559890?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/4231758015582559890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=4231758015582559890' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/4231758015582559890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/4231758015582559890'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2009/05/how-to-integrate-comatose-cms-in-your.html' title='How to integrate Comatose CMS in your rails application.'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-8650336590562039218</id><published>2008-12-24T01:20:00.000-08:00</published><updated>2008-12-24T06:17:29.245-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='insert HTML Tag'/><title type='text'>Insert HTML Tag Using Javascript...</title><content type='html'>The below mention function will be use to insert a div tag along with input field, button when a user clicks on hyper link. Button will be used to hide the selected div. A user can create max 5 div.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function attachFile(id)&lt;br /&gt;{&lt;br /&gt; var count = new Array("1","2","3","4","5")&lt;br /&gt; var hiddenCount = document.getElementById("Cnt").value;&lt;br /&gt; var Comman = 1;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; for(var j=1;j&lt;=count.length;j++)&lt;br /&gt; {&lt;br /&gt;     if (id == 'remove_' + j)&lt;br /&gt;      {&lt;br /&gt;         document.getElementById('div_' + j).style.display = "none";&lt;br /&gt;         return&lt;br /&gt;     }&lt;br /&gt; }&lt;br /&gt; Comman = parseInt(hiddenCount) + Comman;&lt;br /&gt; if (Comman &lt;= 5)&lt;br /&gt;     {&lt;br /&gt;        var varTag1 = document.createElement("INPUT");&lt;br /&gt;       // var varTagRemove = newElement("input",{type:"button",name:"Remove",id:"remove_"+Comman,value:"1"},{onclick:attachFile(this.id)});&lt;br /&gt;        var varTagRemove = document.createElement("INPUT");&lt;br /&gt;        varTagRemove.type="button";&lt;br /&gt;        varTagRemove.value = "Remove";&lt;br /&gt;        varTagRemove.id = "remove_"+Comman;&lt;br /&gt;        varTag1.type = "file";&lt;br /&gt;        varTag1.id = "file_"+Comman;;&lt;br /&gt;        var x = document.all;&lt;br /&gt;        var br = "br"&lt;br /&gt;        if(x)&lt;br /&gt;            br = "&lt;br /&gt;"&lt;br /&gt;        var varTag2 = document.createElement(br);&lt;br /&gt;       &lt;br /&gt;        document.getElementById("div_" + Comman).appendChild(varTag1);&lt;br /&gt;        document.getElementById("div_" + Comman).appendChild(varTagRemove);&lt;br /&gt;        document.getElementById("div_" + Comman).appendChild(varTag2);&lt;br /&gt;        var rm_test = document.getElementById("remove_" + Comman);&lt;br /&gt;        rm_test.onclick = function(){attachFile(this.id)};&lt;br /&gt;        document.getElementById('Cnt').value = Comman;&lt;br /&gt;       &lt;br /&gt;     }&lt;br /&gt;     else&lt;br /&gt;     {&lt;br /&gt;         for (var i = 1; i &lt;= count.length; i++)&lt;br /&gt;         {&lt;br /&gt;           if (document.getElementById("div_" + i).style.display == "none")&lt;br /&gt;           {&lt;br /&gt;               document.getElementById("div_" + i).style.display = "block";&lt;br /&gt;            return&lt;br /&gt;           }&lt;br /&gt;          }&lt;br /&gt;          //ALERT WILL BE CALLED WHEN THE COUNT OF FILE UPLOADER IS 5 AND ALL THE DIV DISPLAY PROPERTY IS&lt;br /&gt;         // BLOCK&lt;br /&gt;         alert("Limit is over");&lt;br /&gt;      }&lt;br /&gt;  }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-8650336590562039218?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/8650336590562039218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=8650336590562039218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8650336590562039218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8650336590562039218'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/12/this-is-testing.html' title='Insert HTML Tag Using Javascript...'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-5555468345250710118</id><published>2008-12-11T22:02:00.000-08:00</published><updated>2008-12-11T22:05:33.391-08:00</updated><title type='text'>Ruby: How "send" method works?</title><content type='html'>Invokes the method identified by symbol, passing it any arguments specified. You can use __send__ if the name send clashes with an existing method in obj.&lt;br /&gt;For example.&lt;br /&gt;Suppose that in you have a three different parameter&lt;br /&gt;1.addnum&lt;br /&gt;2.subnum&lt;br /&gt;3.multinum&lt;br /&gt;&lt;br /&gt;depends on the parameter you want to call the method to execute add/subtract/multiply. So what you can do&lt;br /&gt;&lt;br /&gt;class Number&lt;br /&gt;&lt;br /&gt;  def mainfunction(methodname, val1, val2)&lt;br /&gt;    #THE BELOW MENTION SEND METHOD WILL CALL ANY ONE METHOD  #DEPENDS   ON THE FIRST PARAMETER&lt;br /&gt;    self.send(methodname, val1, val2)&lt;br /&gt;  end&lt;br /&gt;&lt;br /&gt;  def addnum(val1, val2)&lt;br /&gt;      val1 + val2&lt;br /&gt;  end&lt;br /&gt;&lt;br /&gt;  def subnum(val1, val2)&lt;br /&gt;      val1 + val2&lt;br /&gt;  end&lt;br /&gt;&lt;br /&gt;  def multinum(val1, val2)&lt;br /&gt;     val1 + val2&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;num = Number.new&lt;br /&gt;num.mainfunction(“addnum”, 10 , 20)  #output =&gt; 30&lt;br /&gt;&lt;br /&gt;So this is just a very basic example to understand hoe send method work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-5555468345250710118?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/5555468345250710118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=5555468345250710118' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/5555468345250710118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/5555468345250710118'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/12/ruby-how-send-method-works.html' title='Ruby: How &quot;send&quot; method works?'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-4982830025426119707</id><published>2008-10-04T02:12:00.000-07:00</published><updated>2008-10-04T02:14:03.292-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='grant access'/><title type='text'>How to enable grant access to remote system for MySQL server?</title><content type='html'>In a few step you can allow remote system to access your MySQL server. To implement first you will need to configure your &lt;span style="font-weight: bold;"&gt;my.cnf&lt;/span&gt; which which is located at&lt;br /&gt;&lt;br /&gt;/etc/mysql/my.cnf [&lt;span style="font-weight: bold;"&gt;Debian Linux Environment&lt;/span&gt;]&lt;br /&gt;OR&lt;br /&gt;/etc/my.cnf [&lt;span style="font-weight: bold;"&gt;Red Hat Linux/Fedora/Centos Linux&lt;/span&gt;]&lt;br /&gt;OR&lt;br /&gt;/var/db/mysql/my.cnf [&lt;span style="font-weight: bold;"&gt;FreeBSD&lt;/span&gt;]&lt;br /&gt;&lt;br /&gt;access the file using&lt;br /&gt;&lt;br /&gt;sudo gedit /etc/mysql/my.cnf&lt;br /&gt;&lt;br /&gt;check for following line&lt;br /&gt;bind-address in which the local ip address is assigned 127.0.0.1&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;bind-address = 127.0.0.1&lt;/span&gt;&lt;br /&gt;So just replace the local ip address with your server ip address e.g. 192.168.XXX.XXX&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;bind-address = 192.168.XXX.XXX&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thats it now all you need to restart your MySQL server and assign a grant access to remote system.&lt;br /&gt;&lt;br /&gt;To restart MySQL server&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;etc/init.d/mysql restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To assigned a grant access&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;GRANT ALL ON user_database_name.* TO remote_user_name@'192.168.x.x' IDENTIFIED BY 'PASSWORD';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thats it and it is done.. Now&lt;br /&gt;the remote user can access your db..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-4982830025426119707?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/4982830025426119707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=4982830025426119707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/4982830025426119707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/4982830025426119707'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/10/how-to-enable-grant-access-to-remote.html' title='How to enable grant access to remote system for MySQL server?'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-1869559854793559117</id><published>2008-09-30T23:57:00.000-07:00</published><updated>2008-09-30T23:59:31.090-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Configuration of phpMyAdmin'/><category scheme='http://www.blogger.com/atom/ns#' term='phpMyAdmin'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Configuration of phpMyAdmin on ubuntu..</title><content type='html'>Configuration of phpMyAdmin on ubuntu..&lt;br /&gt; As you know that phpMyAdmin is a database management and adminstration tool. So below is given the installation process of phpMyadmin. Let assume that you have already installed LAMP on ur system.&lt;br /&gt;And incase if you have not installed LAMP then follow the following steps.&lt;br /&gt;1. Open the terminal.&lt;br /&gt;2. install apache [&lt;span style="font-weight: bold;"&gt;sudo apt-get install apache2&lt;/span&gt;].&lt;br /&gt;3. install php [&lt;span style="font-weight: bold;"&gt;sudo apt-get install php5 libapache2-mod-php5&lt;/span&gt;]&lt;br /&gt;4. Once it is installed restart the apache [&lt;span style="font-weight: bold;"&gt;sudo /etc/init.d/apache2 restart&lt;/span&gt;]&lt;br /&gt;5. Install MySQL server [&lt;span style="font-weight: bold;"&gt;sudo apt-get install mysql-server&lt;/span&gt;] and set a password to local system to gets root access.&lt;br /&gt;6. Install MySQL admin [&lt;span style="font-weight: bold;"&gt;sudo apt-get install mysql-admin&lt;/span&gt;]&lt;br /&gt;7. Install MySQL for Apache HTTP Server [&lt;span style="font-weight: bold;"&gt;sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin&lt;/span&gt;]&lt;br /&gt;8. Edit your php.ini file to work your php with MySQL [&lt;span style="font-weight: bold;"&gt;pico /etc/php5/apache2/php.ini&lt;/span&gt;] and add following line [&lt;span style="font-weight: bold;"&gt;extension=mysql.so&lt;/span&gt;]&lt;br /&gt;9. Again restart you apache same command used in point 4.&lt;br /&gt;Now once your LAMP installed all you need to edit your &lt;span style="font-weight: bold;"&gt;apache2.conf&lt;/span&gt; file which is located in '&lt;span style="font-weight: bold;"&gt;/etc/apache2/apache2.conf&lt;/span&gt;' and add the following like&lt;br /&gt;[&lt;span style="font-weight: bold;"&gt;Include /etc/phpmyadmin/apache.conf&lt;/span&gt;] and then restart your apache as given in point 4.&lt;br /&gt;That it and your phpmyadmin is configured.&lt;br /&gt;&lt;br /&gt;For accessing you can use the following URL "http://localhost/phpmyadmin/" and if it is configured on server or some other system just changed localhost from domain name.&lt;br /&gt;&lt;br /&gt;Your comments are welcome.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-1869559854793559117?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/1869559854793559117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=1869559854793559117' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/1869559854793559117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/1869559854793559117'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/09/configuration-of-phpmyadmin-on-ubuntu.html' title='Configuration of phpMyAdmin on ubuntu..'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-6695194727757879973</id><published>2008-09-30T01:12:00.000-07:00</published><updated>2008-09-30T01:16:53.529-07:00</updated><title type='text'>How to install RMagick Gem on Ubuntu?</title><content type='html'>To install RMagick with image magick on ubuntu is very simple you just need to run three commands from your terminal. Just make sure that you have install ruby and rubygem.&lt;br /&gt;&lt;br /&gt;Once your ruby and rubygem is install run the following command.&lt;br /&gt; &lt;span style="font-weight: bold;"&gt;1. sudo apt-get install imagemagick&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   2. sudo apt-get install libmagick9-dev&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   3. sudo gem install rmagick&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thats it and Rmagick in installed on your ubuntu environment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-6695194727757879973?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/6695194727757879973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=6695194727757879973' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/6695194727757879973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/6695194727757879973'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/09/how-to-install-rmagick-gem-on-ubuntu.html' title='How to install RMagick Gem on Ubuntu?'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-3020350338444539504</id><published>2008-09-29T01:42:00.000-07:00</published><updated>2008-09-29T01:44:33.441-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='RubyGem'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>uninitialized constant Gem::GemRunner (NameError)</title><content type='html'>/usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)&lt;br /&gt;&lt;br /&gt;After installing ruby and rubygem on Ubuntu i started getting 'uninitialized constant Gem::GemRunner (NameError)' Error, so the solution for this is.&lt;br /&gt;add the following command in your /usr/bin/gem&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;require 'rubygems/gem_runner'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thats it and it will start working..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-3020350338444539504?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/3020350338444539504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=3020350338444539504' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/3020350338444539504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/3020350338444539504'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/09/uninitialized-constant-gemgemrunner.html' title='uninitialized constant Gem::GemRunner (NameError)'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-1055377627709048086</id><published>2008-09-03T21:43:00.000-07:00</published><updated>2008-09-03T21:48:53.752-07:00</updated><title type='text'>add_column new feature :after</title><content type='html'>Have created a new method, at the time of adding a new column in existing method. The method name is called :after&lt;br /&gt;for ex&lt;br /&gt;add_column :users, :user_info, :string, :after =&gt; "email"&lt;br /&gt; when we execute the migration the email will be place just after user_info field in users table.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-1055377627709048086?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/1055377627709048086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=1055377627709048086' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/1055377627709048086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/1055377627709048086'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/09/addcolumn-new-feature-after.html' title='add_column new feature :after'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-1287331797395577374</id><published>2008-09-01T23:13:00.000-07:00</published><updated>2008-09-01T23:31:59.049-07:00</updated><title type='text'>list of same column name from all the tables.</title><content type='html'>Hello Friend,&lt;br /&gt;This time i'll tell you something about how we can know which table contains the same column name in a database.&lt;br /&gt;&lt;br /&gt;[Note] This query only work in MySQL 5.02 and above&lt;br /&gt;&lt;br /&gt;[Important]: -  This query can help Ruby developer when they assigned a new project and if the project does not have a E-R diagram, As we never set a foreign key at a database level.&lt;br /&gt;So here is the query&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;SELECT TABLE_NAME, COLUMN_NAME FROM information_schema.columns&lt;br /&gt;WHERE COLUMN_NAME = user_id' AND table_schema = "test_development"&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-1287331797395577374?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/1287331797395577374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=1287331797395577374' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/1287331797395577374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/1287331797395577374'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/09/list-of-same-column-name-from-all.html' title='list of same column name from all the tables.'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-4055512608875193880</id><published>2008-09-01T22:59:00.000-07:00</published><updated>2008-09-01T23:34:04.716-07:00</updated><title type='text'>MySQL Database Dump from shell....</title><content type='html'>Hello Friends,&lt;br /&gt;This is how we can take a database dump from command prompt.&lt;br /&gt;&lt;br /&gt;1. Suppose you want to dump the entire database u can fire following command from cmd prompt...&lt;br /&gt;"test_dump" will be your database name...&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Your_location_where_you_want_to_save:\&gt; mysqldump -u root -p test_dump &gt; filename.sql&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Suppose there are n numbers of table and we want to take a back of only 2 table let say table_abc, table_xyz from the "test_dump" database, so you can fire the below mention query...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Your_location_where_you_want_to_save:\&gt; mysqldump --add-drop-table -u root -p test_dump table_abc table_xyz  &gt; filename.sql&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note: -&lt;br /&gt;1. The filename can be anything.&lt;br /&gt;2. &lt;span style="font-weight: bold;"&gt;Your_location_where_you_want_to_save &lt;/span&gt;= can be let say c drive c:\&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-4055512608875193880?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/4055512608875193880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=4055512608875193880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/4055512608875193880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/4055512608875193880'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/09/mysql-database-dump-from-shell.html' title='MySQL Database Dump from shell....'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-8258389001359476513</id><published>2008-08-25T22:39:00.000-07:00</published><updated>2008-08-25T23:03:28.378-07:00</updated><title type='text'>ERROR: While executing gem ... (Gem::InstallError)</title><content type='html'>Many developer had faced the issue at the time of installing rails 2.1.0 by using 'gem install rails'&lt;br /&gt;&lt;p&gt; ERROR:  While executing gem ... (Gem::InstallError) &lt;/p&gt;&lt;p&gt; invalid gem format for c:/ruby/lib/ruby/gems/1.8/cache/activesupport-2.1.0.gem&lt;/p&gt;&lt;p&gt;So here is the solutions:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;After doing some sort of R&amp;amp;D i found that you will need to download '&lt;a href="http://rubyforge.org/frs/download.php/37753/activesupport-2.1.0.gem"&gt;activesupport-2.1.0.gem&lt;/a&gt;' from http://rubyforge.org/frs/?group_id=570 site and first install activesupport manually. and then run 'gem install rails' from command prompt.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-8258389001359476513?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/8258389001359476513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=8258389001359476513' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8258389001359476513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8258389001359476513'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/08/error-while-executing-gem.html' title='ERROR: While executing gem ... (Gem::InstallError)'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-8152220835665917659</id><published>2008-07-09T01:16:00.000-07:00</published><updated>2008-07-09T01:23:21.183-07:00</updated><title type='text'>divide single word into sentence.</title><content type='html'>The below mention function will divide the long character word into specific sentence.&lt;br /&gt;for e.g you have a input like "aaaaaaaaaaaaaaaaaaaa" you want this should be divide that means each sentence should contain 5 character "aaaaa aaaaa aaaaa aaaaa".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;def word_division(char_length, comment_value)&lt;br /&gt;return nil if comment_value.nil?&lt;br /&gt;chunk_size = char_length&lt;br /&gt;i = 0&lt;br /&gt;chunks = []&lt;br /&gt;while i &lt; comment_value.to_s.length&lt;br /&gt;chunks &lt;&lt; comment_value.to_s[i,chunk_size]&lt;br /&gt;i = i + chunk_size&lt;br /&gt;end&lt;br /&gt;return chunks.join(" ")&lt;br /&gt;end&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-8152220835665917659?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/8152220835665917659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=8152220835665917659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8152220835665917659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8152220835665917659'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/07/divide-single-word-into-sentence.html' title='divide single word into sentence.'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-5278022744338524824</id><published>2008-06-06T08:58:00.001-07:00</published><updated>2008-06-06T09:05:13.900-07:00</updated><title type='text'>How to send a mail from application</title><content type='html'>After the configuration of action mailer. Perform the following task.&lt;br /&gt;&lt;br /&gt;class Notifier &lt; ActionMailer::Base&lt;br /&gt;    def send_email(user_details)&lt;br /&gt;        @recipients               = "#{user[:email]}"   &lt;br /&gt;       @from                     = "xyz@xyz.com"&lt;br /&gt;       @subject                  = "this is testing"&lt;br /&gt;      @sent_on                  = Time.now.utc&lt;br /&gt;      @content_type             = "text/html"&lt;br /&gt;      @body                     = {}&lt;br /&gt;      url = "http://xyz.com/id=12312123"&lt;br /&gt;      @body.store('url', url)&lt;br /&gt;      @body.store('user', user)&lt;br /&gt;      render_message("signup", @body)&lt;br /&gt;    end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;from controller call&lt;br /&gt;  def xyz&lt;br /&gt;    @user = User.new(params[:user])&lt;br /&gt;    if @user.save!&lt;br /&gt;        Notifier.send_email(@user)&lt;br /&gt;    end&lt;br /&gt;  end&lt;br /&gt;&lt;br /&gt;and if you want a proper template should be forwarded then in ur view folder/notifier&lt;br /&gt;&lt;br /&gt;create a file send_email.rhtml if you are using localization you can call as 'send_email_en.rhtml'&lt;br /&gt;Dear, &lt;%= @user[:login] %&gt;&lt;br /&gt;Welcome to xyz.com&lt;br /&gt;&lt;br /&gt;thanks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-5278022744338524824?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/5278022744338524824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=5278022744338524824' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/5278022744338524824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/5278022744338524824'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/06/how-to-send-mail-from-application.html' title='How to send a mail from application'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-7713859605805918765</id><published>2008-06-06T08:46:00.000-07:00</published><updated>2008-06-06T08:57:51.841-07:00</updated><title type='text'>About ActionMailer and condiguration of action mailer.</title><content type='html'>ActionMailer allows you to send email from your application, when you generate a action mailer&lt;br /&gt;using following command: -&lt;br /&gt;script/generate mailer Notifier&lt;br /&gt;a action mailer class(inside model folder) and view generate.&lt;br /&gt;&lt;br /&gt;Mailer methods have the following configuration methods available.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;tt&gt;recipients&lt;/tt&gt; - Takes one or more email addresses. These addresses are where your email will be delivered to. Sets the &lt;tt&gt;To:&lt;/tt&gt; header.  &lt;/li&gt;&lt;li&gt;&lt;tt&gt;subject&lt;/tt&gt; - The subject of your email. Sets the &lt;tt&gt;Subject:&lt;/tt&gt; header.  &lt;/li&gt;&lt;li&gt;&lt;tt&gt;from&lt;/tt&gt; - Who the email you are sending is from. Sets the &lt;tt&gt;From:&lt;/tt&gt; header.  &lt;/li&gt;&lt;li&gt;&lt;tt&gt;cc&lt;/tt&gt; - Takes one or more email addresses. These addresses will &lt;a href="http://api.rubyonrails.org/classes/ActionMailer/Base.html#M000879"&gt;receive&lt;/a&gt; a carbon copy of your email. Sets the &lt;tt&gt;Cc:&lt;/tt&gt; header.  &lt;/li&gt;&lt;li&gt;&lt;tt&gt;bcc&lt;/tt&gt; - Takes one or more email address. These addresses will &lt;a href="http://api.rubyonrails.org/classes/ActionMailer/Base.html#M000879"&gt;receive&lt;/a&gt; a blind carbon copy of your email. Sets the &lt;tt&gt;Bcc&lt;/tt&gt; header.  &lt;/li&gt;&lt;li&gt;&lt;tt&gt;sent_on&lt;/tt&gt; - The date on which the message was sent. If not set, the header wil be set by the delivery agent.  &lt;/li&gt;&lt;li&gt;&lt;tt&gt;content_type&lt;/tt&gt; - Specify the content type of the message. Defaults to &lt;tt&gt;text/plain&lt;/tt&gt;.  &lt;/li&gt;&lt;li&gt;&lt;tt&gt;headers&lt;/tt&gt; - Specify additional headers to be set for the message, e.g. &lt;tt&gt;headers ‘X-Mail-Count’ =&gt; 107370&lt;/tt&gt;.  &lt;/li&gt;&lt;/ul&gt;Configuration&lt;br /&gt;1. First you need to configure action mailer with your application.&lt;br /&gt;open environment.rb file or you can write it in a production/development file also.&lt;br /&gt;after the 'Rails::Initializer.run do |config|' block&lt;br /&gt;paste the below mention code&lt;br /&gt;&lt;br /&gt;ActionMailer::Base.raise_delivery_errors = true #You may also turn exception raising on and off.&lt;br /&gt;ActionMailer::Base.delivery_method=:smtp&lt;br /&gt;ActionMailer::Base.smtp_settings = {&lt;br /&gt;  :address =&gt; "smtp.yourserver.com",&lt;br /&gt;  :port =&gt; 25,&lt;br /&gt;  #:domain =&gt; "&lt;code&gt;www.mywebsite.com&lt;/code&gt;"&lt;br /&gt;  :user_name =&gt; "username",&lt;br /&gt;  :password =&gt; "password",&lt;br /&gt;  :authentication =&gt; :login  &lt;span style="font-family: monospace;"&gt;&lt;/span&gt;# :plain, :login or :cram_md5&lt;br /&gt;}&lt;br /&gt;:domain is the name sent to the &lt;span class="caps"&gt;SMTP&lt;/span&gt; server during the handshake.  It will be used to form the first “Received:” header, which spam filters usually check.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-7713859605805918765?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/7713859605805918765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=7713859605805918765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/7713859605805918765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/7713859605805918765'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/06/about-actionmailer-and-condiguration-of.html' title='About ActionMailer and condiguration of action mailer.'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-8310743275077761290</id><published>2008-04-12T00:06:00.000-07:00</published><updated>2008-04-12T00:10:58.220-07:00</updated><title type='text'>Installation of rails on linux</title><content type='html'>You can install rails in the following way...   &lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 130px; text-align: left;"&gt;gem install v1.1.6 rails&lt;br /&gt;&lt;br /&gt;the version can be changed.&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-8310743275077761290?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/8310743275077761290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=8310743275077761290' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8310743275077761290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8310743275077761290'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/04/installation-of-rails-on-linux.html' title='Installation of rails on linux'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-8770610828086679651</id><published>2008-04-11T23:56:00.000-07:00</published><updated>2008-04-12T00:02:09.853-07:00</updated><title type='text'>Installing Ruby Gem on Linux</title><content type='html'>Installation of ruby gem is also similar like installing ruby&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 130px; text-align: left;"&gt;cd /usr/src&lt;br /&gt;if you are a root user then its fine else login as a root or simply pass the following command&lt;br /&gt;su with the root password&lt;br /&gt;wget http://rubyforge.org/frs/download.php/35283/rubygems-1.1.1.tgz&lt;br /&gt;tar xzf ruby-1.8.6.tar.&lt;br /&gt;ruby setup.rb&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;http://rubyforge.org/frs/download.php/35283/rubygems-1.1.1.tgz&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-8770610828086679651?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/8770610828086679651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=8770610828086679651' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8770610828086679651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/8770610828086679651'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/04/installing-ruby-gem-on-linux.html' title='Installing Ruby Gem on Linux'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2522771784182457557.post-93253445644635558</id><published>2008-04-11T23:46:00.000-07:00</published><updated>2008-04-11T23:51:22.622-07:00</updated><title type='text'>Installing ruby on linux.</title><content type='html'>Here is a way through which you can easy install a ruby on your linux system&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 130px; text-align: left;"&gt;cd /usr/src&lt;br /&gt;if you are a root user then its fine else login as a root or simply pass the following command&lt;br /&gt;su with the root password&lt;br /&gt;wget http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz&lt;br /&gt;tar xfz ruby-1.8.6.tar.gz&lt;br /&gt;./configure --prefix=/usr&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;this is how one easy way you can install ruby.,&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2522771784182457557-93253445644635558?l=worldofopensource.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://worldofopensource.blogspot.com/feeds/93253445644635558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2522771784182457557&amp;postID=93253445644635558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/93253445644635558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2522771784182457557/posts/default/93253445644635558'/><link rel='alternate' type='text/html' href='http://worldofopensource.blogspot.com/2008/04/installing-ruby-on-linux.html' title='Installing ruby on linux.'/><author><name>Abhishek shukla</name><uri>http://www.blogger.com/profile/07213469367891575668</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
