<?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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Official 23 impressions Blog</title>
	<atom:link href="http://blog.23impressions.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.23impressions.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Sep 2010 04:39:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8220;Ruby on Rails 3.0 is Now Officially Available&#8221;</title>
		<link>http://blog.23impressions.com/?p=124#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ruby-on-rails-3-0-is-now-officially-available</link>
		<comments>http://blog.23impressions.com/?p=124#comments</comments>
		<pubDate>Tue, 07 Sep 2010 04:39:01 +0000</pubDate>
		<dc:creator>Piyush Gupta</dc:creator>
				<category><![CDATA[rails 3]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[




The third generation of Rails has finally been released. More than 1,600 contributors were involved  in its creation.
There have been a large number of changes with the  release of Ruby on Rails 3.0.
David August notes that there were  thousands of commits, but highlighted some of the major changes.
Here is  a look [...]]]></description>
			<content:encoded><![CDATA[<div class="field field-type-filefield field-field-image">
<div class="field-items">
<div class="field-item odd"><a class="thickbox initThickbox-processed" title="Ruby on Rails Logo" rel="gallery-595" href="http://webmasterformat.com/sites/default/files/ruby-on-rails-logo.jpg"><img class="imagecache imagecache-full_image" style="float: left;" title="Ruby on Rails Logo" src="http://webmasterformat.com/sites/default/files/imagecache/full_image/ruby-on-rails-logo.jpg" alt="Ruby on Rails Logo" width="106" height="126" /></a></div>
</div>
</div>
<p>The <a href="http://weblog.rubyonrails.org/2010/8/29/rails-3-0-it-s-done">third generation of Rails</a> has finally been released. More than 1,600 contributors were involved  in its creation.</p>
<p>There have been a large number of changes with the  release of Ruby on Rails 3.0.</p>
<p>David August notes that there were  thousands of commits, but highlighted some of the major changes.</p>
<p>Here is  a look at some of the new creations as well as important changes.</p>
<p>&nbsp;</p>
<h2>The New Stuff</h2>
<blockquote class="package"><ul>
<li><strong>Active Record Query Engine</strong> &ndash; it is use the Arel query engine so that scopes and queries will be more composable and more consistent. </li>
<li><strong>Router for Action Controller</strong> &ndash; Rails 2 saw a switch to the  REST-based approach and Rails 3 has redone the syntax to minimize the  noise and increase flexibility within the REST style. </li>
<li><strong>Action Mailer</strong> &ndash; With Rails 3, the Action Mailer has been made all controller to improve the functionality as well as the overall feel.</li>
</ul>
</blockquote>
<h2>Big Changes</h2>
<blockquote class="package"><ul>
<li><strong>Managing Dependencies</strong> &ndash; All of the dependencies from Rails 3  will be managed by Bundler. The intention of this is to allow you to  specify libraries, plugins, and framework. </li>
<li><strong>Default XSS Protection</strong> </li>
<li><strong>Encoding Issues</strong> &ndash; Rails 3 has combined all of the tools  necessary to eliminate encoding errors that lead to corrupted data being  copied and pasted by Microsoft Word. </li>
<li><strong>No Direct References to Active Record</strong> &ndash; Most of the commonly  requested Active Record components have been integrated into the Active  Model framework. You can now use an ORM (API Compliant) for related  features. </li>
<li><strong>New Plugin APIs</strong> &ndash; Railties have been rewritten in order to accommodate a new plugin API. </li>
<li><strong>Internals Have Been Rewritten</strong> &ndash; In regards to Action Pack and  Railties, the internals have been completely rewritten. There are now  modules as opposed to the Action Controller. </li>
<li><strong>New Documentation</strong> &ndash; It should be no surprise that with the  longer than expected development cycle there is also a bit of new  documentation with more to be released soon.</li>
</ul>
</blockquote>
<p>There are a large number of other changes, both big and small, that  have been made to Ruby on Rails 3. For more detailed information, make  sure to check out all of the <a href="http://rubyonrails.org/documentation">new documentation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.23impressions.com/?feed=rss2&amp;p=124</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Top 10 Open Source Web-Based Project Management Software&#8221;</title>
		<link>http://blog.23impressions.com/?p=123#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=top-10-open-source-web-based-project-management-software</link>
		<comments>http://blog.23impressions.com/?p=123#comments</comments>
		<pubDate>Mon, 06 Sep 2010 06:06:00 +0000</pubDate>
		<dc:creator>Piyush Gupta</dc:creator>
				<category><![CDATA[SDD]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[neta]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.23impressions.com/?p=123</guid>
		<description><![CDATA[Project management software is not just for managing software based  project. It can be used for variety of other tasks too. The web-based  software must provide tools for planning, organizing and managing  resources to achieve project goals and objectives. A web-based project  management software can be accessed through an intranet or [...]]]></description>
			<content:encoded><![CDATA[<p>Project management software is not just for managing software based  project. It can be used for variety of other tasks too. The web-based  software must provide tools for planning, organizing and managing  resources to achieve project goals and objectives. A web-based project  management software can be accessed through an intranet or WAN / LAN  using a web browser. You don&#8217;t have to install any other software on the  system. The software can be easy of use with access control features  (multi-user). I use project management software for all of our projects  (for e.g. building a new cluster farm) for issue / bug-tracking,  calender, gantt charts, email notification and much more.</p>
<p>Obviously I&#8217;m not the only user, the following open source software  is used by some of the biggest research organizations and companies  world wild. For example, NASA&#8217;s Jet Propulsion Laboratory uses track  software or open source project such as lighttpd / phpbb use redmine  software to keep track of their projects.</p>
<p>You use the following top 10 software for personal or business use. Keep  track of all your projects in one place and finish them successfully on  time.</p>
<h2>#1: Codendi</h2>
<p>Codendi is an open-source collaborative development platform offered  by Xerox. From only one interface, it gathers, all the needed tools for  software development teams: management and versioning of code, bugs,  requirements, documents, reporting, tests etc. It is mainly used for  managing software project processes.</p>
<ul>
<li><a href="http://www.codendi.com/index_en.php" target="_blank">Download Codendi</a></li>
</ul>
<h2>#2: Redmine</h2>
<p>Redmine is a flexible project management web application. Written  using Ruby on Rails framework, it is cross-platform and cross-database.  It includes calendar and gantt charts to aid visual representation of  projects and their deadlines.</p>
<ul>
<li><a href="http://www.redmine.org/" target="_blank">Download redmine</a></li>
</ul>
<h2>#3: ProjectPier</h2>
<p>ProjectPier is a Free, Open-Source, self-hosted PHP application for  managing tasks, projects and teams through an intuitive web interface.  ProjectPier will help your organization communicate, collaborate and get  things done Its function is similar to commercial groupware/project  management products, but allows the freedom and scalability of  self-hosting.</p>
<ul>
<li><a href="http://www.projectpier.org/" target="_blank">Download ProjectPier</a></li>
</ul>
<h2>#4: Trac</h2>
<p>Trac is an open source, web-based project management and bug-tracking  tool. Trac allows hyperlinking information between a computer bug  database, revision control and wiki content. It also serves as a web  interface to a version control system like Subversion, Git, Mercurial,  Bazaar and Darcs.</p>
<ul>
<li><a href="http://trac.edgewall.org/" target="_blank">Download Trac</a></li>
</ul>
<h2>#5: Project HQ</h2>
<p>Project HQ is a collaborative open source project management tool,  similar to Basecamp and activeCollab. Project HQ is built on open source  technologies like Python, Pylons and SQLAlchemy and is fully database  independent. Project HQ uses a structured workflow to assist you in  managing your projects.</p>
<ul>
<li><a href="http://projecthq.org/" target="_blank">Download Project HQ</a></li>
</ul>
<h2>#6: Collabtive</h2>
<p>Collabtive is a web-based project management software that is being  published as Open Source software. The project was started in November  2007. It strives to provide an Open Source alternative to proprietary  tools like Basecamp or ActiveCollab.</p>
<ul>
<li><a href="http://collabtive.o-dyn.de/" target="_blank">Download Collabtive</a></li>
</ul>
<h2>#7: eGroupWare</h2>
<p>eGroupWare is a free open source groupware software intended for  businesses from small to enterprises. Its primary functions allow users  to manage contacts, appointments, projects and to-do lists.</p>
<p>It is used either via its native web-interface, making access  platform-independent, or by using different supported groupware clients,  such as Kontact, Novell Evolution, or Microsoft Outlook. It can also be  used by mobile phone or PDA via SyncML.</p>
<ul>
<li><a href="http://www.egroupware.org/Home" target="_blank">Download eGroupWare</a></li>
</ul>
<h2>#8: KForge</h2>
<p>KForge is an open-source (GPL) system for managing software and  knowledge projects. It re-uses existing best-of-breed tools such as a  versioned storage (subversion), a tracker (trac), and wiki (trac or  moinmoin), integrating them with the system&rsquo;s own facilities (projects,  users, permissions etc). KForge also provides a complete web interface  for project administration as well a fully-developed plugin system so  that new services and features can be easily added.</p>
<ul>
<li><a href="http://www.kforgeproject.com/" target="_blank">Download KForge</a></li>
</ul>
<h2>#9: OpenGoo</h2>
<p>It is a complete online solution focused on improving productivity,  collaboration, communication and management of your teams. OpenGoo main  features include document management, contact management, e-mail,  project management, and time management. Text documents and  presentations can be created and edited online. Files can be uploaded,  organized and shared, independent of file formats.</p>
<ul>
<li><a href="http://www.opengoo.org/" target="_blank">Download OpenGoo</a></li>
</ul>
<h2>#10: ClockingIT</h2>
<p>ClockingIT is a free Project Management solution, which helps your team stay focused and on top of things.</p>
<ul>
<li><a href="http://wiki.clockingit.com/" target="_blank">Download ClockingIT </a></li>
</ul>
<h3>Other FOSS Project Management Software Projects</h3>
<ol>
<li><a href="http://www.jotbug.org/" target="_blank">JotBug</a></li>
<li><a href="http://www.bugzilla.org/" target="_blank">Bugzilla</a> (only bug tracking)</li>
<li><a href="http://openproj.org/openproj" target="_blank">OpenProj (desktop app &#8211; replacement for MS-project)</a></li>
</ol>
<p>How do you manage your IT / software and other projects? Are you using a better option? Let us know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.23impressions.com/?feed=rss2&amp;p=123</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Five quick steps to set up RVM with rails 2 and rails3 &#8220;</title>
		<link>http://blog.23impressions.com/?p=121#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=five-quick-steps-to-set-up-rvm-with-rails-2-and-rails3</link>
		<comments>http://blog.23impressions.com/?p=121#comments</comments>
		<pubDate>Fri, 06 Aug 2010 08:18:00 +0000</pubDate>
		<dc:creator>Piyush Gupta</dc:creator>
				<category><![CDATA[console]]></category>
		<category><![CDATA[rails 3]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://blog.23impressions.com/?p=121</guid>
		<description><![CDATA[1 &#8211; Installing RVM

$ sudo gem install rvm  

$ rvm-install

Finally put this lines in your .bash_profile or .bashrc:

  if [[ -s $HOME/.rvm/scripts/rvm ]] ; then
          source $HOME/.rvm/scripts/rvm
  fi

Restart your terminal, Rvm should be working by now.
2 &#8211; Installing ruby inside your rvm

$ rvm [...]]]></description>
			<content:encoded><![CDATA[<p>1 &#8211; Installing RVM</p>
<pre>
$ sudo gem install rvm  

$ rvm-install
</pre>
<p>Finally put this lines in your .bash_profile or .bashrc:</p>
<pre>
  if [[ -s $HOME/.rvm/scripts/rvm ]] ; then
          source $HOME/.rvm/scripts/rvm
  fi
</pre>
<p>Restart your terminal, Rvm should be working by now.</p>
<p>2 &#8211; Installing ruby inside your rvm</p>
<pre>
$ rvm install 1.8.7
</pre>
<p>Will install ruby 1.8.7</p>
<pre>
$ rvm install ruby-head
</pre>
<p>Will install ruby 1.9.2 or newer.</p>
<p>3 &#8211; Setting up rvm to use your specific ruby version</p>
<pre>
$ rvm use 1.8.7
</pre>
<p>To use just this time.</p>
<pre>
$ rvm use 1.8.7 --default
</pre>
<p>To use always this version.</p>
<p>If you are using any other ruby replace the “1.8.7” for your version.</p>
<p>4 &#8211; Installing rails 2 and rails 3 RC inside different gemsets</p>
<p>You can separate your rails versions inside gemsets:</p>
<p>Rails 2:</p>
<p>Create the gemset:</p>
<pre>
$ rvm gemset create rails2
</pre>
<p>Setting up rvm to use always this gemset:</p>
<pre>
$ rvm use 1.8.7@rails2 --default
</pre>
<p>Installing rails 2:</p>
<pre>
$ gem install rails
</pre>
<p>Rails 3:</p>
<p>Create the gemset:</p>
<pre>
$ rvm gemset create rails3
</pre>
<p>Setting up rvm to use always this gemset:</p>
<pre>
$rvm use 1.8.7@rails3 --default
</pre>
<p>Installing rails 3:</p>
<pre>
$ gem install rails --pre
</pre>
<p>5 &#8211; Switching between different rails versions</p>
<p>Switching to rails 2:</p>
<pre>
$ rvm use 1.8.7@rails2
$ rails -v
Rails 2.3.5
</pre>
<p>Switching to rails 3:</p>
<pre>
$ rvm use 1.8.7@rails3
$ rails -v
Rails 3.0.0.rc
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.23impressions.com/?feed=rss2&amp;p=121</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8221; Installing Ruby on Rails on Ubuntu 10.04&#8243;</title>
		<link>http://blog.23impressions.com/?p=119#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=installing-ruby-on-rails-on-ubuntu-10-04</link>
		<comments>http://blog.23impressions.com/?p=119#comments</comments>
		<pubDate>Wed, 21 Jul 2010 19:18:52 +0000</pubDate>
		<dc:creator>Piyush Gupta</dc:creator>
				<category><![CDATA[:netbeans]]></category>
		<category><![CDATA[netbeans 6.9]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 10.04]]></category>
		<category><![CDATA[ubuntu 10.4]]></category>

		<guid isPermaLink="false">http://blog.23impressions.com/?p=119</guid>
		<description><![CDATA[There are a few different approaches to installing Ruby on Rails on Ubuntu 10.4. This is the technique that I use, in my opinion it involves the least hassle.
Ubuntu has a managed ruby package that serves perfectly as the basis for a Ruby on Rails installation. Open a console and install it with the following [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few different approaches to installing Ruby on Rails on Ubuntu 10.4. This is the technique that I use, in my opinion it involves the least hassle.</p>
<p>Ubuntu has a managed ruby package that serves perfectly as the basis for a Ruby on Rails installation. Open a console and install it with the following command.</p>
<pre>
sudo apt-get install ruby-full build-essential
</pre>
<p>I’ve previously had issues with the rubygems Debian package and would normally advocate installing the package directly from <a href="http://rubyforge.org/" target="_blank">RubyForge</a>.	</p>
<pre>
cd ~
mkdir gems
cd gems
wget http://rubyforge.org/frs/download.php/70696/rubygems-1.3.7.tgz
tar -xf rubygems-1.3.7.tgz
cd rubygems-1.3.7
sudo ruby setup.rb
</pre>
<p>The ruby setup script doesn’t automatically place a link to the gems application in your /usr/bin folder so add it now.	</p>
<pre>
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
</pre>
<p>Update your ruby environment. If you’ve downloaded the latest version of rubygems, you’ll be told that everything is already up-to-date.	</p>
<pre>
sudo gem update system
gem -v
</pre>
<p>With your ruby environment ready, install rails.</p>
<pre>
sudo gem install rails
</pre>
<p>You’re finally at the point where you can create rails projects, just use the following command.</p>
<pre>
rails test_project
</pre>
<p>I prefer to use something a bit more friendly than vi as a development environment for Rails. Download and install the latest copy of Netbeans from netbeans.org.	</p>
<pre>
wget http://download.netbeans.org/netbeans/6.9/final/bundles/netbeans-6.9-ml-linux.sh
chmod +x netbeans-6.9-ml-linux.sh
./netbeans-6.9-ml-linux.sh
</pre>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=00592a44-ff44-8623-a1a9-4c786db5f1aa" /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.23impressions.com/?feed=rss2&amp;p=119</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Learning Rails&#8221;</title>
		<link>http://blog.23impressions.com/?p=117#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=learning-rails</link>
		<comments>http://blog.23impressions.com/?p=117#comments</comments>
		<pubDate>Mon, 19 Jul 2010 18:38:23 +0000</pubDate>
		<dc:creator>Piyush Gupta</dc:creator>
				<category><![CDATA[23impressions]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://blog.23impressions.com/?p=117</guid>
		<description><![CDATA[We all use Agile web development , ruby for rails, rails in 4 days, ruby , ajax etc books to get a hang of ruby on rails also some more books like pragmatic etc .
However I thought of making a list of websites which help do so 
So here is the bunchedin :  http://www.bunchedin.com/vuIMCc

]]></description>
			<content:encoded><![CDATA[<p>We all use Agile web development , ruby for rails, rails in 4 days, ruby , ajax etc books to get a hang of ruby on rails also some more books like pragmatic etc .</p>
<p>However I thought of making a list of websites which help do so </p>
<p>So here is the bunchedin : <a href="http://www.bunchedin.com/vuIMCc" target="_blank"> http://www.bunchedin.com/vuIMCc</a></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=b548d3ac-b619-8b18-ba0c-af6b9a55c9f4" /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.23impressions.com/?feed=rss2&amp;p=117</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>“Installing ImageMagik on Unix/Linux”</title>
		<link>http://blog.23impressions.com/?p=115#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=%25e2%2580%259cinstalling-imagemagik-on-unixlinux%25e2%2580%259d</link>
		<comments>http://blog.23impressions.com/?p=115#comments</comments>
		<pubDate>Thu, 15 Jul 2010 19:11:53 +0000</pubDate>
		<dc:creator>Piyush Gupta</dc:creator>
				<category><![CDATA[installations.server]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://blog.23impressions.com/?p=115</guid>
		<description><![CDATA[Follow the below steps

wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz

Next configure and compile ImageMagick:

tar xvfz ImageMagick.tar.gz
cd ImageMagick-6.6.3
./configure
make

If ImageMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type

sudo make install

Finally, verify the ImageMagick install worked properly, type

/usr/local/bin/convert logo: logo.gif

For a more comprehensive test, run the ImageMagick validation [...]]]></description>
			<content:encoded><![CDATA[<p>Follow the below steps</p>
<pre>
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
</pre>
<p>Next configure and compile ImageMagick:</p>
<pre>
tar xvfz ImageMagick.tar.gz
cd ImageMagick-6.6.3
./configure
make
</pre>
<p>If ImageMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type</p>
<pre>
sudo make install
</pre>
<p>Finally, verify the ImageMagick install worked properly, type</p>
<pre>
/usr/local/bin/convert logo: logo.gif
</pre>
<p>For a more comprehensive test, run the ImageMagick validation suite. Ghosts		cript is a prerequisite, otherwise the EPS, PS, and PDF tests will fail.</p>
<pre>
make check
</pre>
<p>Reference : http://www.bunchedin.com/aOqNOv</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=29312354-5d82-8df7-9d6e-6a81af418431" /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.23impressions.com/?feed=rss2&amp;p=115</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>&#8220;Simple MYSQL commands&#8221;</title>
		<link>http://blog.23impressions.com/?p=113#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=simple-mysql-commands</link>
		<comments>http://blog.23impressions.com/?p=113#comments</comments>
		<pubDate>Mon, 05 Jul 2010 12:04:32 +0000</pubDate>
		<dc:creator>Piyush Gupta</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.23impressions.com/?p=113</guid>
		<description><![CDATA[Here I shall be jotting down one by one simple SQL commands that we use .
Check the comments .

]]></description>
			<content:encoded><![CDATA[<p>Here I shall be jotting down one by one simple SQL commands that we use .</p>
<p>Check the comments .</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=351ef544-fc6e-823c-a074-21f72655bc7a" /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.23impressions.com/?feed=rss2&amp;p=113</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;Error in ruby relative_path_from call on windows&#8221;</title>
		<link>http://blog.23impressions.com/?p=101#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=error-in-ruby-relative_path_from-call-on-windows</link>
		<comments>http://blog.23impressions.com/?p=101#comments</comments>
		<pubDate>Mon, 28 Jun 2010 17:41:19 +0000</pubDate>
		<dc:creator>Piyush Gupta</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Spree]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.23impressions.com/?p=101</guid>
		<description><![CDATA[I was playing around with &#8220;SPREE COMMERCE&#8221;after a long term on my windows machine , before this have always used my linux box for Spree commerce .
However got stuck at the very first step after bootstrapping a fresh application .
Error :

After scratching head for long and loosing 20 hairs atleast drilled down to source of [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing around with &#8220;SPREE COMMERCE&#8221;after a long term on my windows machine , before this have always used my linux box for Spree commerce .</p>
<p>However got stuck at the very first step after bootstrapping a fresh application .</p>
<p>Error :</p>
<p><script src="http://gist.github.com/456124.js?file=Error%20Spree%20Extension"></script></p>
<p>After scratching head for long and loosing 20 hairs atleast drilled down to source of error and monkey patched the error .</p>
<p>Moreover after a little digging, it was evident that the ‘relative_path_from’ method in ‘/ruby/lib/ruby/1.8/pathname.rb’ file had the problem. The problem was also described as a ticket at <a href="http://redmine.ruby-lang.org/issues/show/1366" target="_blank">http://redmine.ruby-lang.org/issues/show/1366</a> and the excerpt of the issue is shown below:</p>
<p>Monkey Patch :</p>
<p><script src="http://gist.github.com/456124.js?file=Solution%20Ruby%20monkey%20patch%20"></script>	</p>
<p>I added the capitalize! keyword at the end of the two lines so that both the paths are in uppercase, so that later in the code (	) shown below does not barf and give us the error we got shown in the first error of the post.</p>
<p>Overriding original :</p>
<p><script src="http://gist.github.com/456124.js?file=Overirding%20code"></script></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=2c70c081-19c2-89c0-9ef0-a4d976387bb3" /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.23impressions.com/?feed=rss2&amp;p=101</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Sending email with Ruby on Rails 2.3.5 and gmail&#8221;</title>
		<link>http://blog.23impressions.com/?p=99#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=sending-email-with-ruby-on-rails-2-3-5-and-gmail</link>
		<comments>http://blog.23impressions.com/?p=99#comments</comments>
		<pubDate>Wed, 23 Jun 2010 16:57:55 +0000</pubDate>
		<dc:creator>Piyush Gupta</dc:creator>
				<category><![CDATA[mailer]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[tips and tricks]]></category>

		<guid isPermaLink="false">http://blog.23impressions.com/?p=99</guid>
		<description><![CDATA[If you need an easy way to setup email for your company or for a client it&#8217;s hard to not love Google Apps. (The &#8217;standard&#8217; ie free version is here).
It is very likely that at some point you will need to send out emails from your application. Don&#8217;t cry. Gmail can do this for you. [...]]]></description>
			<content:encoded><![CDATA[<p>If you need an easy way to setup email for your company or for a client it&#8217;s hard to not love Google Apps. (The &#8217;standard&#8217; ie free version is here).</p>
<p>It is very likely that at some point you will need to send out emails from your application. Don&#8217;t cry. Gmail can do this for you. Rails 2.3.2 makes it easier than ever with the addition of &#8216;enable_starttls_auto&#8217;. Put the following code in production.rb, development.rb or environment.rb and you &#8217;should&#8217; be able to send out emails:	</p>
<p><script src="http://gist.github.com/450198.js?file=Sending%20email%20with%20Ruby%20on%20Rails%202.3.5%20and%20gmail"></script></p>
<p>If you are one of the lucky ones this will actually work. It didn&#8217;t work for me but since I still needed to get email working here&#8217;s what I did:</p>
<p>First be sure to activate the email account that you are using. To do that you only need to login. Google will walk you through entering a captcha etc.</p>
<p>You might get this error:<br />
Net::SMTPAuthenticationError: 530 5.7.0 Must issue a STARTTLS command first.</p>
<p>If you do then check your Ruby version. Ruby 1.8.7 has this built in but Ruby 1.8.6 does not.</p>
<p>The next best thing is to get action_mailer_tls. Most of the links you will find in forum and blog posts are broken. The code is on github and neatly packaged as a gem: http://github.com/openrain/action_mailer_tls/tree/master. Follow the directions to install and configure the plugin there and you should be able to send email.</p>
<p>Here&#8217;s a couple of handy conversations for reference:</p>
<p>http://www.railsforum.com/viewtopic.php?id=28480</p>
<p>http://www.ruby-forum.com/topic/184137</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=c28a80f5-5885-8a8d-9af0-48dd4310d033" /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.23impressions.com/?feed=rss2&amp;p=99</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;New Features in Rails 3&#8243;</title>
		<link>http://blog.23impressions.com/?p=95#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=new-features-in-rails-3</link>
		<comments>http://blog.23impressions.com/?p=95#comments</comments>
		<pubDate>Tue, 22 Jun 2010 07:14:01 +0000</pubDate>
		<dc:creator>Piyush Gupta</dc:creator>
				<category><![CDATA[rails 3]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://blog.23impressions.com/?p=95</guid>
		<description><![CDATA[We’re all about following the newest technology in web development. Rails 3 is coming soon, and it promises to be a significant upgrade. With the 4th beta version pushed recently, and a release candidate right around the corner, I thought now would be a good time to go over my two favorite new features.
All New [...]]]></description>
			<content:encoded><![CDATA[<p>We’re all about following the newest technology in web development. Rails 3 is coming soon, and it promises to be a significant upgrade. With the 4th beta version pushed recently, and a release candidate right around the corner, I thought now would be a good time to go over my two favorite new features.<br />
All New Router</p>
<p>The router has been completely re-written and borrows heavily from the Merb router, but has a more developed DSL.</p>
<p>Regular Routes</p>
<p>Regular routes are more concise, but I’m not sure how I feel about the “controller#action” syntax yet…</p>
<p><script src="http://gist.github.com/448079.js?file=gistfile1.builder"></script>	</p>
<p>Named Routes</p>
<p>Very similar to regular routes, just with an extra :as variable at the end.</p>
<p><script src="http://gist.github.com/448079.js?file=gistfile2.builder"></script></p>
<p>Restful Routes</p>
<p>I think restful routes get the biggest improvement. The new syntax is MUCH easier to read than in Rails 2.			</p>
<p><script src="http://gist.github.com/448079.js?file=gistfile3.builder"></script></p>
<p>ActiveRecord and ActiveRelation</p>
<p>This is probably my favorite addition to Rails. The new ActiveRecord syntax is very similar to Doctrine (which we use with symfony). Instead of passing options as a hash to your find() method, they’ve created a bunch of new methods you can chain together.<br />
<script src="http://gist.github.com/448079.js?file=gistfile4.builder"></script><br />
The best part is that any of the query methods just return a relation instead of running the sql query. That way, you can chain more query methods on the relation later. The actual query doesn’t run until you try to access the object(s) (such as with an iterator). This makes fragment caching a lot easier, because you can keep your query call in your action. Even if the cache is hit, it will only create a relation and not actually query the database. You can also force the query to be run at any time by calling all(), first(), or last() on the relation.	</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=4c8af69a-2e7c-8358-a6d2-f398c0538748" /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.23impressions.com/?feed=rss2&amp;p=95</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
