<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6.5" -->
<rss version="0.92">
<channel>
	<title>Paddy's Blog</title>
	<link>http://blog.paddyonline.in</link>
	<description>Tech Notes, Snippets, Trends and Business</description>
	<lastBuildDate>Thu, 04 Feb 2010 06:29:58 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Add multiple virtual host along with Passenger</title>
		<description>I was having few projects on my MAC and was really bugged up with maintaining the port numbers and other stuffs, a real cumbersome.

After, Jacek's thought on this, I had set up the following:

Install the gem:

sudo gem install ghost

after that add a virtual host

sudo ghost add paddy.local (a choice of ...</description>
		<link>http://blog.paddyonline.in/2010/01/05/add-multiple-virtual-host-along-with-passenger/</link>
			</item>
	<item>
		<title>BSNL 3G Speed</title>
		<description>After a long awaiting for the actual launch of 3G service in Chennai, its available now. I rushed up to the customer service center and got myself the 3G Sim Card and just tried the net speed which BSNL claims  upto 3.6 MBPS ...but the result is shown in the ...</description>
		<link>http://blog.paddyonline.in/2009/11/23/bsnl-3g-speed/</link>
			</item>
	<item>
		<title>Search comma separated values db column in Rails</title>
		<description>I wanted to search for a value in DB and the column data is comma separated values say ...

foo,bar,hey,hay

Now I wanted to find  a record based on the value ...say ...hay

MySQL's FIND_IN_SET comes into play and it works as follows


 ["FIND_IN_SET(?,search_column)", search_string])
%>


Hope this helps! </description>
		<link>http://blog.paddyonline.in/2009/11/22/search-comma-separated-values-db-column-in-rails/</link>
			</item>
	<item>
		<title>Making will_paginate to work with acts_as_taggable_on_steriods</title>
		<description>After going through, few post on pagination for the tags, this worked for me.
 size, :page => params[:page], :per_page => 1)
%>
 </description>
		<link>http://blog.paddyonline.in/2009/09/01/making-will_paginate-to-work-with-acts_as_taggable_on_steriods/</link>
			</item>
	<item>
		<title>Installing MySQL Gem on Mac OSX with XAMPP</title>
		<description>I was having lot of trouble on installing the MySQL Gem for Mac OSX Leopard 10.5.9 via XAMPP. I have the XAMPP running and also mySQL. Here are the steps.

1. Install XAMPP for MAC

2. Install XAMPP Dev Package

3. From your terminal type the following command and you'll see the following

sudo ...</description>
		<link>http://blog.paddyonline.in/2009/07/26/installing-mysql-gem-on-mac-osx-with-xampp/</link>
			</item>
	<item>
		<title>Is Active</title>
		<description>  def is_active?
    (start_date .. expiry_date) === DateTime.now
  end
 </description>
		<link>http://blog.paddyonline.in/2009/04/13/is-active/</link>
			</item>
	<item>
		<title>Rspec bundle for Textmate</title>
		<description>I was looking for a Rspec bundle for textmate and it is here with steps to follow and simply superb!

http://blog.emson.co.uk/2008/06/installing-the-latest-rspec-textmate-bundle/

Pads </description>
		<link>http://blog.paddyonline.in/2009/03/25/rspec-bundle-for-textmate/</link>
			</item>
	<item>
		<title>Git Stash</title>
		<description>Currently, I am working on few files and when you do a git pull, you may sometimes get a message as follows:

error: Entry 'app/views/alerts/index.rhtml' not uptodate. Cannot merge.

So you know, somebody has updated the code and you do need to commit the file so that the file can be merged ...</description>
		<link>http://blog.paddyonline.in/2009/03/10/git-stash/</link>
			</item>
	<item>
		<title>Run Controller Spec</title>
		<description>If you just wanted to run only the controller specs, then you have to use the following command

rake spec:controllers

 </description>
		<link>http://blog.paddyonline.in/2009/02/21/run-controller-spec/</link>
			</item>
	<item>
		<title>Restore the deleted files with GIT</title>
		<description>Today, it was a shock, that I have deleted few files without my knowledge. Fortunately, before deleting I had committed the files and so no much of tension. You can use the following commands to restore it.

View the list of deleted files:

git ls-files -d

This will list the deleted file and ...</description>
		<link>http://blog.paddyonline.in/2009/02/19/restore-files-with-git/</link>
			</item>
</channel>
</rss>
