<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Anand M Muranal</title>
	<atom:link href="http://anandmuranal.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://anandmuranal.wordpress.com</link>
	<description>My Memories</description>
	<pubDate>Tue, 27 May 2008 14:12:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Ruby String Functions</title>
		<link>http://anandmuranal.wordpress.com/2008/05/28/ruby-string-functions/</link>
		<comments>http://anandmuranal.wordpress.com/2008/05/28/ruby-string-functions/#comments</comments>
		<pubDate>Tue, 27 May 2008 14:08:14 +0000</pubDate>
		<dc:creator>anandmuranal</dc:creator>
		
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://anandmuranal.wordpress.com/?p=53</guid>
		<description><![CDATA[
&#8220;i got what i want&#8221;.count &#8220;i&#8221;         #=&#62; 2
&#8220;i got what i want&#8221;.delete &#8220;i&#8221;        #=&#62; &#8221; got what want&#8221;
&#8220;hello&#8221;.gsub(/[aeiou]/, &#8216;*&#8217;)                 #=&#62; &#8220;h*ll*&#8221;
&#8220;hello&#8221;.sub(/[aeiou]/, &#8216;*&#8217;)   [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><ul>
<li>&#8220;i got what i want&#8221;.<strong>count</strong> &#8220;i&#8221;         #=&gt; 2</li>
<li>&#8220;i got what i want&#8221;.<strong>delete</strong> &#8220;i&#8221;        #=&gt; &#8221; got what want&#8221;</li>
<li>&#8220;hello&#8221;.<strong>gsub</strong>(/[aeiou]/, &#8216;*&#8217;)                 #=&gt; &#8220;h*ll*&#8221;</li>
<li>&#8220;hello&#8221;.<strong>sub</strong>(/[aeiou]/, &#8216;*&#8217;)                       #=&gt; &#8220;h*llo&#8221;</li>
<li>&#8220;hello&#8221;.<strong>tr</strong>(&#8217;aeiou&#8217;, &#8216;*&#8217;)                #=&gt; &#8220;h*ll*&#8221;</li>
<li>&#8220;hello&#8221;.<strong>index</strong>(&#8217;e')                         #=&gt; 1</li>
<li>&#8220;hello&#8221;.<strong>rindex</strong>(&#8217;l')                         #=&gt; 3(last occurrence)</li>
<li>&#8220;abcd&#8221;.<strong>insert</strong>(3, &#8216;X&#8217;)                #=&gt; &#8220;abcXd&#8221;</li>
<li>&#8216;cat&#8217;.t<strong>o_sym</strong> #=&gt; :cat</li>
<li>&#8220;hello&#8221;.<strong>ljust</strong>(20)                       #=&gt; &#8220;hello               &#8220;</li>
<li> &#8220;hello&#8221;.<strong>ljust</strong>(20, &#8216;1234&#8242;)               #=&gt; &#8220;hello123412341234123&#8243;</li>
<li>&#8220;hello&#8221;.<strong>rjust</strong>(20, &#8216;1234&#8242;)               #=&gt; &#8220;123412341234123hello&#8221;</li>
<li>&#8221;  hello  &#8220;.<strong>rstrip</strong> #=&gt; &#8221;  hello&#8221;</li>
<li>&#8221;  hello  &#8220;.<strong>lstrip</strong> #=&gt; &#8220;hello  &#8220;</li>
<li>&#8221;    hello    &#8220;.<strong>strip</strong> #=&gt; &#8220;hello&#8221;</li>
<li>a = &#8220;cruel world&#8221;</li>
<li> a.<strong>scan</strong>(/\w+/)                        #=&gt; ["cruel", "world"]</li>
<li> a.scan(/&#8230;/)                        #=&gt; ["cru", "el ", "wor"]</li>
<li> a.scan(/(&#8230;)/)                      #=&gt; [["cru"], ["el "], ["wor"]]</li>
<li> a.scan(/(..)(..)/)                   #=&gt; [["cr", "ue"], ["l ", "wo"]]</li>
<li>&#8220;1,2,,3,4,,&#8221;.<strong>split</strong>(&#8217;,')                     #=&gt; ["1", "2", "", "3", "4"]</li>
<li>&#8220;putters shoot balls&#8221;.<strong>squeeze</strong>(&#8221;m-z&#8221;)   #=&gt; &#8220;puters shot balls&#8221;</li>
<li> &#8220;Finally, something useful!&#8221;.<strong>at</strong>(6)    #=&gt; &#8220;y&#8221;</li>
<li> &#8220;Chris the Person&#8221;.<strong>from</strong>(6)        #=&gt; &#8220;the Person&#8221;</li>
<li> &#8220;Chris the Person&#8221;.<strong>to</strong>(4)            #=&gt; &#8220;Chris&#8221;</li>
<li> &#8220;Christmas Time&#8221;.<strong>first</strong> #=&gt; &#8220;C&#8221;</li>
<li> &#8220;Christmas Time&#8221;.first(5)            #=&gt; &#8220;Chris&#8221;</li>
<li> &#8220;Christmas Time&#8221;.<strong>last</strong> #=&gt; &#8220;e&#8221;</li>
<li>&#8220;Christmas Time&#8221;.last(4)            #=&gt; &#8220;Time&#8221;</li>
<li>&#8220;Snow&#8221;.<strong>each_char</strong> { |i| print i.upcase }    #=&gt;SNOW</li>
<li>&#8220;Peanut Butter&#8221;.<strong>starts_with?</strong> &#8216;Peanut&#8217;    #=&gt; true</li>
<li>&#8220;Peanut Butter&#8221;.<strong>ends_with?</strong> &#8216;Nutter&#8217;        #=&gt; false</li>
<li>&#8220;1985-03-13&#8243;.<strong>to_time</strong> #=&gt; Wed Mar 13 00:00:00 UTC 1985</li>
<li>&#8220;1985-03-13&#8243;.<strong>to_date</strong> #=&gt; #</li>
<li>&#8220;stressed&#8221;.<strong>reverse</strong> #=&gt; &#8220;desserts&#8221;</li>
<li>&#8220;Hello&#8221;.<strong>swapcase</strong> #=&gt; &#8220;hELLO&#8221;</li>
<li>&#8220;hEllO&#8221;.<strong>upcase</strong> #=&gt; &#8220;HELLO&#8221;</li>
<li>&#8220;reindeer&#8221;.<strong>pluralize</strong> #=&gt; &#8220;reindeers&#8221;</li>
<li>&#8220;elves&#8221;.<strong>singularize</strong> #=&gt; &#8220;elf&#8221;</li>
<li>&#8220;christmas_carol&#8221;.<strong>camelize</strong> #=&gt; &#8220;ChristmasCarol&#8221;</li>
<li>&#8220;christmas_carol&#8221;.camelize(:lower)        #=&gt; &#8220;christmasCarol&#8221;</li>
<li>&#8220;holiday_cheer&#8221;.<strong>titleize</strong> #=&gt; &#8220;Holiday Cheer&#8221;</li>
<li>&#8220;AdventCalendar-2006&#8243;.<strong>underscore</strong> #=&gt; &#8220;advent_calendar_2006&#8243;</li>
<li>&#8220;santa_Claus&#8221;.<strong>dasherize</strong> #=&gt; &#8220;santa-Claus&#8221;</li>
<li>&#8220;Holiday::December::Christmas&#8221;.<strong>demodulize</strong> #=&gt; &#8220;Christmas&#8221;</li>
<li>&#8220;SnowStorm&#8221;.<strong>tableize</strong> #=&gt; &#8220;snow_storms&#8221;</li>
<li>&#8220;snow_storms&#8221;.<strong>classify</strong> #=&gt; &#8220;SnowStorm&#8221;</li>
<li>&#8220;present_id&#8221;.<strong>humanize</strong> #=&gt; &#8220;Present&#8221;</li>
<li>&#8220;Present&#8221;.<strong>foreign_key</strong> #=&gt; &#8220;present_id&#8221;</li>
<li>&#8220;Cheer&#8221;.<strong>constantize</strong> #=&gt; NameError: uninitialized constant Cheer</li>
<li>&#8220;Christmas&#8221;.<strong>constantize</strong> #=&gt; Christmas</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anandmuranal.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anandmuranal.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anandmuranal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anandmuranal.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anandmuranal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anandmuranal.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anandmuranal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anandmuranal.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anandmuranal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anandmuranal.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anandmuranal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anandmuranal.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anandmuranal.wordpress.com&blog=791775&post=53&subd=anandmuranal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anandmuranal.wordpress.com/2008/05/28/ruby-string-functions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ferret Upgrade</title>
		<link>http://anandmuranal.wordpress.com/2008/04/28/ferret-upgrade/</link>
		<comments>http://anandmuranal.wordpress.com/2008/04/28/ferret-upgrade/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 12:50:27 +0000</pubDate>
		<dc:creator>anandmuranal</dc:creator>
		
		<category><![CDATA[Ruby on Rails (RoR)]]></category>

		<guid isPermaLink="false">http://anandmuranal.wordpress.com/?p=52</guid>
		<description><![CDATA[These are the steps I have followed for ferret gem upgrade.
Step 1&#62; Upgrade ferret gem  to new version 0.11.6
&#62;&#62;sudo gem update ferret
Step 2&#62; Run setup.rb in ferret-0.11.6
&#62;&#62;ruby /usr/lib/ruby/gems/ferret-0.11.6/setup.rb
Step 3&#62; Update acts_as_ferret plugin in application
&#62;&#62; script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret &#8211;force
Step 4&#62; Add below lines in ferret_server.yml for testing
development:
host: localhost
port: 9010
Step 5&#62; Delete index folder
Step 6&#62; Do changes [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>These are the steps I have followed for ferret gem upgrade.</p>
<p>Step 1&gt; Upgrade ferret gem  to new version 0.11.6<br />
&gt;&gt;sudo gem update ferret</p>
<p>Step 2&gt; Run setup.rb in ferret-0.11.6<br />
&gt;&gt;ruby /usr/lib/ruby/gems/ferret-0.11.6/setup.rb</p>
<p>Step 3&gt; Update acts_as_ferret plugin in application<br />
&gt;&gt; script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret &#8211;force</p>
<p>Step 4&gt; Add below lines in ferret_server.yml for testing<br />
development:<br />
host: localhost<br />
port: 9010</p>
<p>Step 5&gt; Delete index folder</p>
<p>Step 6&gt; Do changes in file /vendor/plugins/acts_as_ferret/lib/server_manager.rb<br />
- Comment the line, require(File.join(File.dirname(ENV['_']), &#8216;../config/environment&#8217;))<br />
- Uncomment the line, require(File.join(File.dirname(__FILE__), &#8216;../../../../config/environment&#8217;))</p>
<p>Step 7&gt; Restart System</p>
<p>Step 8&gt; Run ferret server<br />
&gt;&gt;ruby script/ferret_server start</p>
<p>Step 9&gt; Restart Apache and webrick</p>
<p>Step 10&gt; Test the search functionality</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anandmuranal.wordpress.com/52/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anandmuranal.wordpress.com/52/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anandmuranal.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anandmuranal.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anandmuranal.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anandmuranal.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anandmuranal.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anandmuranal.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anandmuranal.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anandmuranal.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anandmuranal.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anandmuranal.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anandmuranal.wordpress.com&blog=791775&post=52&subd=anandmuranal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anandmuranal.wordpress.com/2008/04/28/ferret-upgrade/feed/</wfw:commentRss>
		</item>
		<item>
		<title>warning: already initialized constant OPTIONS</title>
		<link>http://anandmuranal.wordpress.com/2008/04/15/warning-already-initialized-constant-options/</link>
		<comments>http://anandmuranal.wordpress.com/2008/04/15/warning-already-initialized-constant-options/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 10:01:48 +0000</pubDate>
		<dc:creator>anandmuranal</dc:creator>
		
		<category><![CDATA[Ruby on Rails (RoR)]]></category>

		<guid isPermaLink="false">http://anandmuranal.wordpress.com/?p=51</guid>
		<description><![CDATA[When i am running my server I got this error
anand-muranals-macbook:Trunk anandmuranal$ ruby script/server
=&#62; Booting Mongrel (use &#8217;script/server webrick&#8217; to force WEBrick)
=&#62; Rails application starting on http://0.0.0.0:3000
=&#62; Call with -d to detach
=&#62; Ctrl-C to shutdown server
** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment&#8230;
Exiting
/Users/anandmuranal/Projects/Trunk/vendor/rails/railties/lib/commands/servers/mongrel.rb:15: warning: already [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When i am running my server I got this error</p>
<p>anand-muranals-macbook:Trunk anandmuranal$ ruby script/server<br />
=&gt; Booting Mongrel (use &#8217;script/server webrick&#8217; to force WEBrick)<br />
=&gt; Rails application starting on http://0.0.0.0:3000<br />
=&gt; Call with -d to detach<br />
=&gt; Ctrl-C to shutdown server<br />
** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded<br />
** Starting Mongrel listening at 0.0.0.0:3000<br />
** Starting Rails with development environment&#8230;<br />
Exiting<br />
/Users/anandmuranal/Projects/Trunk/vendor/rails/railties/lib/commands/servers/mongrel.rb:15: warning: already initialized constant OPTIONS<br />
/Users/anandmuranal/Projects/Trunk/vendor/rails/railties/lib/commands/servers/mongrel.rb:18: undefined method `options&#8217; for []:Array (NoMethodError)<br />
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require&#8217;<br />
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `require&#8217;<br />
from /Users/anandmuranal/Projects/Trunk/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require&#8217;<br />
from /Users/anandmuranal/Projects/Trunk/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#8217;<br />
from /Users/anandmuranal/Projects/Trunk/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require&#8217;<br />
from /Users/anandmuranal/Projects/Trunk/vendor/rails/railties/lib/commands/server.rb:39<br />
from script/server:3:in `require&#8217;<br />
from script/server:3<br />
anand-muranals-macbook:Trunk anandmuranal$</p>
<p>This error will come because you are missing some gem which is required in your application</p>
<p>How to know that, which gem is missing?</p>
<p>Run server by this command</p>
<p><strong><code>ruby script/server webrick</code></strong></p>
<p>It will tell you which gem that it fails to load</p>
<p>After this I came to know that ruby-debug is missing</p>
<p>The solution for me was installing the ruby-debug gem - sudo gem install ruby-debug</p>
<p>Now it&#8217;s working</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anandmuranal.wordpress.com/51/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anandmuranal.wordpress.com/51/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anandmuranal.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anandmuranal.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anandmuranal.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anandmuranal.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anandmuranal.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anandmuranal.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anandmuranal.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anandmuranal.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anandmuranal.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anandmuranal.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anandmuranal.wordpress.com&blog=791775&post=51&subd=anandmuranal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anandmuranal.wordpress.com/2008/04/15/warning-already-initialized-constant-options/feed/</wfw:commentRss>
		</item>
		<item>
		<title>bit about Flex</title>
		<link>http://anandmuranal.wordpress.com/2008/01/30/bit-about-flex/</link>
		<comments>http://anandmuranal.wordpress.com/2008/01/30/bit-about-flex/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 12:01:35 +0000</pubDate>
		<dc:creator>anandmuranal</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://anandmuranal.wordpress.com/2008/01/30/bit-about-flex/</guid>
		<description><![CDATA[Ø  IIntroduction 
1&#62;   Flex Framework
·          Drag manger
·          Event manager
·          Layout manger
·          Focus manager
·          Cursor manager
 
2&#62;   Action script
3&#62;   Mxml
4&#62;   Css
5&#62;   Swc
 
Ø  Flex – swf
 
Ø  Container
 
Ø  Component
 
Ø  Display layout
 
Ø  Mx:Application  layout
·          Absolute
·          Horizontal
·          Vertical
 
Ø  Application start by 
·          Pure action script
·          Mxml and action script
 
Data Binding - Data binding is the process of tying the data in [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoListParagraphCxSpFirst" style="text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Wingdings;"><span>Ø<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">  </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">IIntroduction </span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>1&gt;<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">   </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Flex Framework</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:1in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">          </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Drag manger</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:1in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">          </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Event manager</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:1in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">          </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Layout manger</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:1in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">          </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Focus manager</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:1in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">          </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Cursor manager</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:1in;line-height:normal;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>2&gt;<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">   </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Action script</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>3&gt;<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">   </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Mxml</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>4&gt;<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">   </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Css</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>5&gt;<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">   </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Swc</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;line-height:normal;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Wingdings;"><span>Ø<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">  </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Flex – swf</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Wingdings;"><span>Ø<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">  </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Container</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Wingdings;"><span>Ø<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">  </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Component</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Wingdings;"><span>Ø<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">  </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Display layout</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Wingdings;"><span>Ø<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">  </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Mx:Application<span>  </span>layout</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">          </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Absolute</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">          </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Horizontal</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">          </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Vertical</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;line-height:normal;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Wingdings;"><span>Ø<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">  </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Application start by </span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left:0.75in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">          </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Pure action script</span></p>
<p class="MsoListParagraphCxSpLast" style="margin-left:0.75in;text-indent:-0.25in;line-height:normal;"><!--[if !supportLists]--><span style="font-size:8pt;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">          </span></span></span><!--[endif]--><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Mxml and action script</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="line-height:normal;"><b><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Data Binding </span></b><span style="font-size:8pt;font-family:'Verdana','sans-serif';">- </span><i><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';">Data binding</span></i><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> is the process of tying the data in one object to another object. It provides a convenient way to pass data around in an application.</span></p>
<pre><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';">Ex : </span><span style="font-size:8pt;">&lt;mx:Slider id=&#8221;mySlider&#8221;/&gt;</span> <span style="font-size:8pt;">&lt;mx:Text text=&#8221;{mySlider.value}&#8221;/&gt;</span></pre>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="line-height:normal;"><b><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Data Models</span></b><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> <span> </span>- </span><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';">The data model feature lets you store data in client-side objects.</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"><span>            </span>Mx:xml</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"><span>            </span>Mx:model</span></p>
<p class="MsoNormal" style="line-height:normal;"><b><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';">Data Validation</span></b><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> - The data validation feature lets you ensure that data meets specific criteria before the application uses the data.</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><a href="http://127.0.0.1:57721/help/topic/com.adobe.flexbuilder.help/html/validators_093_20.html#189128"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:#005fa9;text-decoration:none;">Using the CreditCardValidator class</span></a><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><a href="http://127.0.0.1:57721/help/topic/com.adobe.flexbuilder.help/html/validators_093_21.html#221571"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:#005fa9;text-decoration:none;">Using the CurrencyValidator class</span></a><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><a href="http://127.0.0.1:57721/help/topic/com.adobe.flexbuilder.help/html/validators_093_22.html#181446"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:#005fa9;text-decoration:none;">Using the DateValidator class</span></a><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><a href="http://127.0.0.1:57721/help/topic/com.adobe.flexbuilder.help/html/validators_093_23.html#181557"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:#005fa9;text-decoration:none;">Using the EmailValidator class</span></a><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><a href="http://127.0.0.1:57721/help/topic/com.adobe.flexbuilder.help/html/validators_093_24.html#181644"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:#005fa9;text-decoration:none;">Using the NumberValidator class</span></a><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><a href="http://127.0.0.1:57721/help/topic/com.adobe.flexbuilder.help/html/validators_093_25.html#181723"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:#005fa9;text-decoration:none;">Using the PhoneNumberValidator class</span></a><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><a href="http://127.0.0.1:57721/help/topic/com.adobe.flexbuilder.help/html/validators_093_26.html#207258"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:#005fa9;text-decoration:none;">Using the RegExpValidator class</span></a><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><a href="http://127.0.0.1:57721/help/topic/com.adobe.flexbuilder.help/html/validators_093_27.html#207263"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:#005fa9;text-decoration:none;">Using the SocialSecurityValidator class</span></a><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><a href="http://127.0.0.1:57721/help/topic/com.adobe.flexbuilder.help/html/validators_093_28.html#181867"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:#005fa9;text-decoration:none;">Using the StringValidator class</span></a><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="margin-bottom:2.5pt;line-height:normal;"><a href="http://127.0.0.1:57721/help/topic/com.adobe.flexbuilder.help/html/validators_093_29.html#181936"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:#005fa9;text-decoration:none;">Using the ZipCodeValidator class</span></a><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<pre><span style="font-size:8pt;">Ex: &lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221;&gt;</span> <span style="font-size:8pt;"><span>    </span>&lt;mx:TextInput id=&#8221;input&#8221; text=&#8221;enter zip&#8221; width=&#8221;80&#8243;/&gt;</span> <span style="font-size:8pt;"> </span> <span style="font-size:8pt;"><span>    </span>&lt;mx:Model id=&#8221;zipModel&#8221;&gt;</span> <span style="font-size:8pt;"><span>        </span>&lt;root&gt;</span> <span style="font-size:8pt;"><span>            </span>&lt;zip&gt;{input.text}&lt;/zip&gt;</span> <span style="font-size:8pt;"><span>        </span>&lt;/root&gt;<span>    </span></span> <span style="font-size:8pt;"><span>    </span>&lt;/mx:Model&gt;</span> <span style="font-size:8pt;"> </span> <span style="font-size:8pt;"><span>    </span>&lt;mx:ZipCodeValidator source=&#8221;{zipModel}&#8221; property=&#8221;zip&#8221;</span> <span style="font-size:8pt;"><span>        </span>listener=&#8221;{input}&#8221; trigger=&#8221;{input}&#8221;/&gt;</span> <span style="font-size:8pt;">&lt;/mx:Application&gt;</span></pre>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="line-height:normal;"><b><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';">Data formatting</span></b><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';"> - The data formatting feature lets you change the format of data before displaying it in a user interface control.</span></p>
<pre><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';">Ex : </span><span style="font-size:8pt;">&lt;mx:DateFormatter id=&#8221;StandardDateFormat&#8221; formatString=&#8221;MM/DD/YYYY&#8221;/&gt;</span> <span style="font-size:8pt;"> </span> <b><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';">Behaviors </span></b><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';">- Adobe Flex behaviors let you add animation and motion to your application in response to user or programmatic action</span></pre>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 0.0001pt 32.5pt;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';">&lt;mx:Parallel id=&#8221;BlurMoveShow&#8221; target=&#8221;{myLabel}&#8221;&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 0.0001pt 32.5pt;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>        </span>&lt;mx:Blur id=&#8221;numbersBlur&#8221; </span></p>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 0.0001pt 32.5pt;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>            </span>blurYFrom=&#8221;10.0&#8243; blurYTo=&#8221;0.0&#8243; </span></p>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 0.0001pt 32.5pt;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>            </span>blurXFrom=&#8221;10.0&#8243; blurXTo=&#8221;0.0&#8243; </span></p>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 0.0001pt 32.5pt;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>            </span>duration=&#8221;2000&#8243;/&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 0.0001pt 32.5pt;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>        </span>&lt;mx:Move id=&#8221;numbersMove&#8221; yBy=&#8221;20&#8243; duration=&#8221;2000&#8243;/&gt;<span>    </span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 2.5pt 32.5pt;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"><span>    </span>&lt;/mx:Parallel&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 2.5pt 32.5pt;"><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 2.5pt;"><b><span style="font-size:8pt;font-family:'Verdana','sans-serif';">Event Listener</span></b></p>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 2.5pt;"><b><span style="font-size:8pt;font-family:'Verdana','sans-serif';">View states and Transitions - </span></b><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';">you can use view states to create a user interface that changes its appearance based on the task the user is performing</span></p>
<p class="MsoNormal" style="line-height:normal;margin:6pt 0 2.5pt;"><b><span style="font-size:8pt;font-family:'Verdana','sans-serif';"> </span></b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anandmuranal.wordpress.com/50/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anandmuranal.wordpress.com/50/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anandmuranal.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anandmuranal.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anandmuranal.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anandmuranal.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anandmuranal.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anandmuranal.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anandmuranal.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anandmuranal.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anandmuranal.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anandmuranal.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anandmuranal.wordpress.com&blog=791775&post=50&subd=anandmuranal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anandmuranal.wordpress.com/2008/01/30/bit-about-flex/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RoR Upload image in S3</title>
		<link>http://anandmuranal.wordpress.com/2008/01/21/ror-upload-image-in-s3/</link>
		<comments>http://anandmuranal.wordpress.com/2008/01/21/ror-upload-image-in-s3/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 06:19:51 +0000</pubDate>
		<dc:creator>anandmuranal</dc:creator>
		
		<category><![CDATA[Ruby on Rails (RoR)]]></category>

		<guid isPermaLink="false">http://anandmuranal.wordpress.com/2008/01/21/ror-upload-image-in-s3/</guid>
		<description><![CDATA[Install gem aws s3
gem install aws-s3
Before you can do anything, you must establish a connection using Base.establish_connection!. A basic connection would look something like this:
AWS::S3::Base.establish_connection!(:access_key_id     =&#62; &#8216;abc&#8217;,
:secret_access_key =&#62; &#8216;123&#8242;
)
Buckets are containers for objects (the files you store on S3). To create a new bucket you just specify its name.
AWS::S3::Bucket.create(&#8217;bucket_name&#8217;)
Picture upload view
&#60;% [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Install gem aws s3<br />
gem install aws-s3</p>
<p>Before you can do anything, you must establish a connection using Base.establish_connection!. A basic connection would look something like this:</p>
<p>AWS::S3::Base.establish_connection!(:access_key_id     =&gt; &#8216;abc&#8217;,<br />
:secret_access_key =&gt; &#8216;123&#8242;<br />
)</p>
<p>Buckets are containers for objects (the files you store on S3). To create a new bucket you just specify its name.</p>
<p>AWS::S3::Bucket.create(&#8217;bucket_name&#8217;)</p>
<p>Picture upload view</p>
<p>&lt;% form_tag ({:action =&gt; &#8216;create&#8217;},{:multipart =&gt; true}) do %&gt;<br />
&lt;table&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;Image &lt;/td&gt;<br />
&lt;td&gt; &lt;%= file_field_tag &#8220;event_picture&#8221; %&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;%= submit_tag &#8220;Create&#8221; %&gt;<br />
&lt;% end %&gt;</p>
<p>Controller<br />
include require &#8216;aws/s3&#8242; in controller</p>
<p>def create<br />
filename = @params['event_picture'].original_filename.gsub(/[^a-zA-Z0-9.]/,&#8217;_')<br />
data = @params['event_picture'].read<br />
AWS::S3::Base.establish_connection!(:access_key_id     =&gt; &#8216;123&#8242;,<br />
:secret_access_key =&gt; &#8216;abc&#8217;)<br />
AWS::S3::S3Object.store(filename,<br />
data,<br />
&#8216;bucket_name&#8217;,<br />
:content_type =&gt; &#8216;image/jpg&#8217;)<br />
end</p>
<p>even you can change grants for image</p>
<p>policy = AWS::S3::S3Object.acl(filename, &#8216;bucket_name&#8217;)<br />
policy.grants &lt;&lt; AWS::S3::ACL::Grant.grant(:public_read)<br />
policy.grants &lt;&lt; AWS::S3::ACL::Grant.grant(:public_read_acp)<br />
AWS::S3::S3Object.acl(filename, &#8216;bucket_name&#8217;, policy)</p>
<p>More info <a href="http://amazon.rubyforge.org/" target="_blank">click </a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anandmuranal.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anandmuranal.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anandmuranal.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anandmuranal.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anandmuranal.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anandmuranal.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anandmuranal.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anandmuranal.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anandmuranal.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anandmuranal.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anandmuranal.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anandmuranal.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anandmuranal.wordpress.com&blog=791775&post=49&subd=anandmuranal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anandmuranal.wordpress.com/2008/01/21/ror-upload-image-in-s3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Display DateTime in client side Time zone</title>
		<link>http://anandmuranal.wordpress.com/2007/12/13/display-datetime-in-client-side-time-zone/</link>
		<comments>http://anandmuranal.wordpress.com/2007/12/13/display-datetime-in-client-side-time-zone/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 11:06:12 +0000</pubDate>
		<dc:creator>anandmuranal</dc:creator>
		
		<category><![CDATA[Ruby on Rails (RoR)]]></category>

		<guid isPermaLink="false">http://anandmuranal.wordpress.com/2007/12/13/display-datetime-in-client-side-time-zone/</guid>
		<description><![CDATA[suppose you want to convert datetime in client side(browser) time zone and display it.
example take events, Events have date so that event date first you have to store it in database as GMT timezone
then write javascript function for onload event like this
function events()
{
var currentDate = new Date();
var offset = currentDate.getTimezoneOffset().toString();
new Ajax.Updater(&#8217;events&#8217;, &#8216;/events/load_events?offset=&#8217; + offset, {asynchronous:true, [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>suppose you want to convert datetime in client side(browser) time zone and display it.<br />
example take events, Events have date so that event date first you have to store it in database as GMT timezone<br />
then write javascript function for onload event like this</p>
<p>function events()<br />
{<br />
var currentDate = new Date();<br />
var offset = currentDate.getTimezoneOffset().toString();<br />
new Ajax.Updater(&#8217;events&#8217;, &#8216;/events/load_events?offset=&#8217; + offset, {asynchronous:true, evalScripts:true}); return false;<br />
}</p>
<p>The events.rhtml will be like this</p>
<p>&lt;h1&gt;Events&lt;/h1&gt;<br />
&lt;div id=&#8221;events&#8221;&gt;&lt;/div&gt;</p>
<p>In third line of javascript I am making an ajax call with updating &#8220;events&#8221; div tag.<br />
This ajax will call the action &#8220;load_events&#8221; in controller &#8220;events&#8221;</p>
<p>events_controller.rb</p>
<p>def load_events<br />
@events = Event.find(:all)<br />
@offset = params[:offset].to_i<br />
end</p>
<p>In view &#8220;load_evevnts.rhtml&#8221; calculate date with offset</p>
<p>&lt;ul&gt;<br />
&lt;% @events.each do |e| %&gt;<br />
&lt;li&gt;&lt;%= e.name %&gt; on &lt;%= (e.date - offset) %&gt;&lt;/li&gt;<br />
&lt;% end %&gt;<br />
&lt;/ul&gt;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anandmuranal.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anandmuranal.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anandmuranal.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anandmuranal.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anandmuranal.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anandmuranal.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anandmuranal.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anandmuranal.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anandmuranal.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anandmuranal.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anandmuranal.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anandmuranal.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anandmuranal.wordpress.com&blog=791775&post=48&subd=anandmuranal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anandmuranal.wordpress.com/2007/12/13/display-datetime-in-client-side-time-zone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Formating date Time in Rails</title>
		<link>http://anandmuranal.wordpress.com/2007/12/12/formating-date-time-in-rails/</link>
		<comments>http://anandmuranal.wordpress.com/2007/12/12/formating-date-time-in-rails/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 10:26:16 +0000</pubDate>
		<dc:creator>anandmuranal</dc:creator>
		
		<category><![CDATA[Ruby on Rails (RoR)]]></category>

		<guid isPermaLink="false">http://anandmuranal.wordpress.com/2007/12/12/formating-date-time-in-rails/</guid>
		<description><![CDATA[You can format Date field by using strftime function
example :
Time.now()
=&#62; Wed Dec 12 15:48:59 +0530 2007
Time.now().strftime(&#8221;%d/%m/%y %H:%M&#8221;)
=&#62; &#8220;12/12/07 15:50&#8243;
Here&#8217;s the (shortened) table for strftime.
%a  weekday name.
%A  weekday name (full).
%b  month name.
%B  month name (full).
%c  date and time (locale)
%d  day of month [01,31].
%H  hour [00,23].
%I  hour [01,12].
%j  day of year [001,366].
%m  month [01,12].
%M  minute [00,59].
%p  AM [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>You can format Date field by using strftime function</p>
<p>example :</p>
<p>Time.now()<br />
=&gt; Wed Dec 12 15:48:59 +0530 2007</p>
<p>Time.now().strftime(&#8221;%d/%m/%y %H:%M&#8221;)<br />
=&gt; &#8220;12/12/07 15:50&#8243;</p>
<p>Here&#8217;s the (shortened) table for strftime.</p>
<p>%a  weekday name.<br />
%A  weekday name (full).<br />
%b  month name.<br />
%B  month name (full).<br />
%c  date and time (locale)<br />
%d  day of month [01,31].<br />
%H  hour [00,23].<br />
%I  hour [01,12].<br />
%j  day of year [001,366].<br />
%m  month [01,12].<br />
%M  minute [00,59].<br />
%p  AM or PM<br />
%S  Second [00,61]<br />
%U  week of year (Sunday)[00,53].<br />
w  weekday [0(Sunday),6].<br />
W  week of year (Monday)[00,53].<br />
x  date (locale).<br />
%X  time (locale).<br />
%y  year [00,99].<br />
%Y  year [2000].<br />
%Z  timezone name.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anandmuranal.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anandmuranal.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anandmuranal.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anandmuranal.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anandmuranal.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anandmuranal.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anandmuranal.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anandmuranal.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anandmuranal.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anandmuranal.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anandmuranal.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anandmuranal.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anandmuranal.wordpress.com&blog=791775&post=47&subd=anandmuranal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anandmuranal.wordpress.com/2007/12/12/formating-date-time-in-rails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HTML - Move to location(lable) in same page</title>
		<link>http://anandmuranal.wordpress.com/2007/11/14/html-move-to-locationlable-in-same-page/</link>
		<comments>http://anandmuranal.wordpress.com/2007/11/14/html-move-to-locationlable-in-same-page/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 09:50:47 +0000</pubDate>
		<dc:creator>anandmuranal</dc:creator>
		
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://anandmuranal.wordpress.com/2007/11/14/html-move-to-locationlable-in-same-page/</guid>
		<description><![CDATA[suppose u have html page like this
&#60;html&#62;
&#60;body&#62;
&#60;p&#62;Name : Anand m Muranal&#60;/p&#62;
&#60;p&#62;city : bangalore&#60;/p&#62;
&#60;p&#62;state: karnataka&#60;/p&#62;
&#60;p&#62;country : india&#60;/p&#62;
&#60;/body&#62;
&#60;/html&#62;
now you want to some link which will go to city
then add some id to &#60;p&#62; tag of city and same id use for link, like this
&#60;html&#62;
&#60;body&#62;
&#60;p&#62;Name : Anand m Muranal&#60;/p&#62;
&#60;p id = &#8220;city&#8221;&#62;city : bangalore&#60;/p&#62;
&#60;p&#62;state: karnataka&#60;/p&#62;
&#60;p&#62;country : india&#60;/p&#62;
&#60;a href=&#8221;#city&#8221;&#62;Go [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>suppose u have html page like this</p>
<p>&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;p&gt;Name : Anand m Muranal&lt;/p&gt;<br />
&lt;p&gt;city : bangalore&lt;/p&gt;<br />
&lt;p&gt;state: karnataka&lt;/p&gt;<br />
&lt;p&gt;country : india&lt;/p&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>now you want to some link which will go to city<br />
then add some id to &lt;p&gt; tag of city and same id use for link, like this</p>
<p>&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;p&gt;Name : Anand m Muranal&lt;/p&gt;<br />
&lt;p id = &#8220;city&#8221;&gt;city : bangalore&lt;/p&gt;<br />
&lt;p&gt;state: karnataka&lt;/p&gt;<br />
&lt;p&gt;country : india&lt;/p&gt;<br />
&lt;a href=&#8221;#city&#8221;&gt;Go to City&lt;/a&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anandmuranal.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anandmuranal.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anandmuranal.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anandmuranal.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anandmuranal.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anandmuranal.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anandmuranal.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anandmuranal.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anandmuranal.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anandmuranal.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anandmuranal.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anandmuranal.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anandmuranal.wordpress.com&blog=791775&post=46&subd=anandmuranal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anandmuranal.wordpress.com/2007/11/14/html-move-to-locationlable-in-same-page/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Time zone Conversion</title>
		<link>http://anandmuranal.wordpress.com/2007/10/24/time-zone-conversion/</link>
		<comments>http://anandmuranal.wordpress.com/2007/10/24/time-zone-conversion/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 07:30:07 +0000</pubDate>
		<dc:creator>anandmuranal</dc:creator>
		
		<category><![CDATA[Ruby on Rails (RoR)]]></category>

		<guid isPermaLink="false">http://anandmuranal.wordpress.com/2007/10/24/time-zone-conversion/</guid>
		<description><![CDATA[    The most common time zone conversions are the conversion of system local time to UTC, and the conversion of UTC to local time by &#8220;Time.gmtime&#8221; method and &#8220;Time.localtime&#8221; method respectively. These conversions are easy for both Time and DateTime objects.
&#160;
def convert_zone(to_zone)
              [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>    The most common time zone conversions are the conversion of system local time to UTC, and the conversion of UTC to local time by &#8220;Time.gmtime&#8221; method and &#8220;Time.localtime&#8221; method respectively. These conversions are easy for both Time and DateTime objects.</p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;">&nbsp;</p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-family:'Verdana','sans-serif';">def convert_zone(to_zone)<br />
<span>            </span><span>    </span>    original_zone = ENV["TZ"]<br />
<span>            </span><span>    </span>    utc_time = dup.gmtime<br />
<span>            </span><span>    </span>    ENV["TZ"] = to_zone<br />
<span>            </span><span>    </span>    to_zone_time = utc_time.localtime<br />
<span>            </span><span>    </span>    ENV["TZ"] = original_zone<br />
<span>            </span><span>    </span>    return to_zone_time</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-family:'Verdana','sans-serif';">end</span></p>
<pre></pre>
<p>Add this function in application controller and call this by passing time zone parameter. This will return  time in new timezone(which u send as parameter).</p>
<p>In this function we are converting time to UTC and changing local timezone to parameter timezone and then converting UTC time to local.</p>
<p>finally reassigning local timezone to original timezone by setting ENV['tz'].</p>
<p><strong>Test it</strong></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-family:'Verdana','sans-serif';">t = Time.now                                                               # =&gt; Sun Sep 09 01:46:40 UTC 2001</span><span style="font-family:'Verdana','sans-serif';"></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-family:'Verdana','sans-serif';">t.convert_zone(&#8221;Asia/Calcutta&#8221;)<span>            </span># =&gt; Sun Sep 09 07:16:40 IST 2001</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:12pt;font-family:'Courier New';"></span></p>
<pre></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anandmuranal.wordpress.com/45/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anandmuranal.wordpress.com/45/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anandmuranal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anandmuranal.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anandmuranal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anandmuranal.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anandmuranal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anandmuranal.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anandmuranal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anandmuranal.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anandmuranal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anandmuranal.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anandmuranal.wordpress.com&blog=791775&post=45&subd=anandmuranal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anandmuranal.wordpress.com/2007/10/24/time-zone-conversion/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Finding last inserted autoincrement id value</title>
		<link>http://anandmuranal.wordpress.com/2007/10/24/finding-last-inserted-autoincrement-id-value/</link>
		<comments>http://anandmuranal.wordpress.com/2007/10/24/finding-last-inserted-autoincrement-id-value/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 06:56:15 +0000</pubDate>
		<dc:creator>anandmuranal</dc:creator>
		
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://anandmuranal.wordpress.com/2007/10/24/finding-last-inserted-autoincrement-id-value/</guid>
		<description><![CDATA[Suppose you have table like
User Table with fields id(auto increment) and name
address table with field id(auto increment), address, user_id(foreign key)
when u inserted one row in user table then u want the last inserted id value in user table to insert it into address table in the field user_id for that corresponding user address entry
use mysql [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Suppose you have table like</p>
<p>User Table with fields id(auto increment) and name</p>
<p>address table with field id(auto increment), address, user_id(foreign key)</p>
<p>when u inserted one row in user table then u want the last inserted id value in user table to insert it into address table in the field user_id for that corresponding user address entry</p>
<p>use mysql &#8216;&#8221;last_insert_id()&#8221; function for finding last inserted auto id</p>
<p>example:</p>
<p>insert into user (name) values (&#8221;Anand&#8221;)</p>
<p>insert into address (address,user_id) values (&#8221;Bangalore&#8221;,last_insert_id())</p>
<p>user table</p>
<p>id        name</p>
<p>1        Anand</p>
<p>Address Table</p>
<p>id        address        user_id</p>
<p>1        Bangalore        1</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anandmuranal.wordpress.com/44/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anandmuranal.wordpress.com/44/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anandmuranal.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anandmuranal.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anandmuranal.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anandmuranal.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anandmuranal.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anandmuranal.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anandmuranal.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anandmuranal.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anandmuranal.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anandmuranal.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anandmuranal.wordpress.com&blog=791775&post=44&subd=anandmuranal&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anandmuranal.wordpress.com/2007/10/24/finding-last-inserted-autoincrement-id-value/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>