<?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>Vinsol - Leading Ruby on Rails Development and Consulting Firm in India &#187; software</title>
	<atom:link href="http://vinsol.com/blog/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://vinsol.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 26 Jul 2010 08:37:42 +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>Ride the Rails: Still skeptical?</title>
		<link>http://vinsol.com/blog/2008/04/26/ride-the-rails-still-skeptical/</link>
		<comments>http://vinsol.com/blog/2008/04/26/ride-the-rails-still-skeptical/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 10:49:38 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.fromdelhi.com/2008/04/26/ride-the-rails-still-skeptical/</guid>
		<description><![CDATA[Ok, so we had been shouting ourselves hoarse, claiming that Rails is all about developer productivity and joy. So is that all about it?, huh!, was the normal reaction. But isn&#8217;t that a big enough reason. Not for many people though.
Yes, we accept that there are some pain points, like hosting Rails applications at shared [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Ok, so we had been shouting ourselves hoarse, claiming that Rails is all about developer productivity and joy. So is that all about it?, huh!, was the normal reaction. But isn&#8217;t that a big enough reason. Not for many people though.</p>
<p>Yes, we accept that there are some pain points, like <a href="http://loudthinking.com/posts/21-the-deal-with-shared-hosts" >hosting Rails applications at shared hosts</a>. No we don&#8217;t need those in production, but don&#8217;t you wish it was easier to deploy a rails app for a quick review with a client (a client who can&#8217;t run it on his own machine). Yes php scores there, just throw the code on the server and you are done. Why do I still run this blog on wordpress and not typo or mephisto? The big reason is that it&#8217;s easy to let just apache handle everything.</p>
<p>But things might change soon with the launch of <a href="http://www.modrails.com/" >passenger aka modrails</a>. </p>
<p>And the other classic allegation against Rails has been performance. Remember the discussion between <a href="http://duncandavidson.com/" >JDD</a> and <a href="http://loudthinking.com/" >DHH</a> about <span class="caps">CPU</span> cycles vs. developer cycles. We are definitely headed in the direction of lesser <span class="caps">CPU</span> cycles for our Rails app. Rails2 made some advances towards that and with Ruby1.9 and <span class="caps">YARV</span> and Rubinium, we have high expectations. Also you have heard about <a href="http://www.rubyenterpriseedition.com/" >Ruby Enterprise Edition</a> , haven&#8217;t you?</p>
<p>So things might change, when people try to figure out <a href="http://discuss.joelonsoftware.com/default.asp?design.4.340437.39" >the fastest web language or framwework</a> , the next time around.</p>
<p>I and those around me here, are generally biased towards rails. <a href="http://rubyrags.com/products/1" >Ruby makes us happy</a>. For us the pleasure points in Rails were always far more than the pain points. The basic Rails principles of DRY and Convention Over Configuration clicked with us.  Ruby&#8217;s and Rail&#8217;s simplicity and beauty clicked with us. We did not need hosting on shared hosts. We could work with Rails caching to improve performance. No wonder we were one of the early adopters of Rails in India. But today, I would like to thank the critics whose untiring rants have moved Rails in the direction of being much more than what is was a couple of years ago.</p>
<p> Some of those changes have been in rails, but more have been around it. If you would have noticed, most of these development are not in rails as such, but in the ruby ecosystem.</p>
<p>Rails provides developer productivity and joy; ease of deployment; and ever-improving performance. And no, now you don&#8217;t need to go back to Java. We knew it, I am just repeating it for you.</p>
<p> Extrapolate <a href="http://www.javalobby.org/java/forums/t101110.html" >this one year old graph</a> for yourself.</p>
<p>So what is your reason for not having rail-ed yet?</p>
<p>Update: Charles Nutter has a post on upcoming Ruby implementations <a href="http://headius.blogspot.com/2008/04/promise-and-peril-for-alternative-ruby.html" >here</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2008/04/26/ride-the-rails-still-skeptical/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VinSol’s certified Scrum Master</title>
		<link>http://vinsol.com/blog/2007/08/20/vinsol%e2%80%99s-certified-scrum-master/</link>
		<comments>http://vinsol.com/blog/2007/08/20/vinsol%e2%80%99s-certified-scrum-master/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 12:53:15 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[announcements]]></category>
		<category><![CDATA[scrum]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[vinsol]]></category>

		<guid isPermaLink="false">http://www.fromdelhi.com/2007/08/20/scrummaster/</guid>
		<description><![CDATA[Aditya is VinSol&#8217;s first certified Scrum Master.


Ever since he completed his training, we have had a much better control over and understanding of the Scrum process that  we use for our projects, leading to a much better control over our projects.
Thanks to Aditya, the wall just across my cabin is now full of Product [...]


Related posts:<ol><li><a href='http://vinsol.com/blog/2010/05/21/meet-vinsol-at-railsconf-2010/' rel='bookmark' title='Permanent Link: Meet Vinsol at RailsConf 2010'>Meet Vinsol at RailsConf 2010</a> <small>Vinsol will be attending the RailsConf 2010 (June 7 –...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>Aditya is VinSol&#8217;s first certified Scrum Master.</strong></p>
<p><strong><img title="Aditya's Scrum Master Certificate" alt="Aditya's Scrum Master Certificate" src="http://www.fromdelhi.com/wp-content/uploads/2007/08/scrum_master.png" /><br />
</strong></p>
<p>Ever since he completed his training, we have had a much better control over and understanding of the Scrum process that  we use for our projects, leading to a much better control over our projects.<br />
Thanks to Aditya, the wall just across my cabin is now full of Product Backlogs, Sprint Backlogs, Burn<br />
Down Charts and  post-it notes which move from &#8220;not started&#8221;, &#8220;working&#8221; to &#8220;done&#8221; columns.</p>
<p><img title="Project Dashboard" alt="Project Dashboard" src="http://www.fromdelhi.com/wp-content/uploads/2007/08/project_dashboard_web.jpg" /><br />
As it became evident in the Sprint Retrospective meeting, the biggest advantages for me after implementing scrum at VinSol were &#8220;More accountability for everybody (whether a chicken or a pig, refer the commited vs. involved Scrum joke)&#8221; and<br />
&#8220;More insight into the development progress at any point of time&#8221;</p>
<p><img title="Sprint Retrospective Meeting" alt="Sprint Retrospective Meeting" src="http://www.fromdelhi.com/wp-content/uploads/2007/08/sprint_retrospective.jpg" /><br />
The sprint retrospective meeting looks like we are taking some exam.</p>


<p>Related posts:<ol><li><a href='http://vinsol.com/blog/2010/05/21/meet-vinsol-at-railsconf-2010/' rel='bookmark' title='Permanent Link: Meet Vinsol at RailsConf 2010'>Meet Vinsol at RailsConf 2010</a> <small>Vinsol will be attending the RailsConf 2010 (June 7 –...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2007/08/20/vinsol%e2%80%99s-certified-scrum-master/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What the Flock</title>
		<link>http://vinsol.com/blog/2006/07/11/what-the-flock/</link>
		<comments>http://vinsol.com/blog/2006/07/11/what-the-flock/#comments</comments>
		<pubDate>Tue, 11 Jul 2006 15:00:15 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.fromdelhi.com/2006/07/11/what-the-flock/</guid>
		<description><![CDATA[I downloaded Flock today, just to test create blog posts directly from Flock into  socialroots repository, as a part of the project.

But I ended up using it the whole day. Just didn&#8217;t feel like going back to FF. Both of them are built on top of the mozilla engine and have the same shortcuts, [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I downloaded <a href="http://flock.com">Flock</a> today, just to test create blog posts directly from Flock into  <a href="http://socialroots.com">socialroots</a> repository, as a part of the project.<br/>
</p>
<p>But I ended up using it the whole day. Just didn&#8217;t feel like going back to FF. Both of them are built on top of the mozilla engine and have the same shortcuts, this really reduce the (psychological and habitual) barriers to the change.<br/>
</p>
<p>I added a couple of feeds that I used to read via bloglines to Flock; and now i am writing this blog post also in Flock.</p>
<p>Have yet to try out flickr and delicious functions inbuilt in flock.<br/>
</p>
<p>Even Flock UI seems better than FF ( or is it just that i am liking the change)</p>
<p>Give Flock a try if you still haven&#8217;t.<br/>
</p>
]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2006/07/11/what-the-flock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>emacs for windows: meadow</title>
		<link>http://vinsol.com/blog/2006/07/10/emacs-for-windows-meadow/</link>
		<comments>http://vinsol.com/blog/2006/07/10/emacs-for-windows-meadow/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 09:14:42 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.fromdelhi.com/2006/07/10/meadow/</guid>
		<description><![CDATA[Meadow is a tool that I came across on my last visit to Japan.
It is a GNU Emacs imlpementation for Windows and is fairly popular in Japan.
Though i had tried the windows version of xemacs before, I like the meadow interface much more.
You can get it  here.
There is an english version of the wiki [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Meadow is a tool that I came across on my last visit to Japan.<br />
It is a GNU Emacs imlpementation for Windows and is fairly popular in Japan.<br />
Though i had tried the windows version of xemacs before, I like the meadow interface much more.</p>
<p>You can get it  <a href="http://www.meadowy.org/meadow" >here</a>.<br />
There is an english version of the wiki <a href="http://www.meadowy.org/meadow/pukiwiki-en/" > here</a>.</p>
<p>I sometime do a little bit of rails hacking on my windows pc too &#8230; so i installed the ruby mode.<br />
If you would want to add ruby-mode, you can find ruby-mode.elc under your ruby installation.<br />
Copy it to lisp/progmodes/  under meadows home.</p>
<p>To customize Meadow further&#8230; <a href="http://capsctrl.que.jp/kdmsnr/?Meadow#l18" >here</a> is a good link ( tis in japanese, but you should understand the lisp)
</p>
]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2006/07/10/emacs-for-windows-meadow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>expire a session in rails</title>
		<link>http://vinsol.com/blog/2006/07/08/expire-a-session-in-rails/</link>
		<comments>http://vinsol.com/blog/2006/07/08/expire-a-session-in-rails/#comments</comments>
		<pubDate>Sat, 08 Jul 2006 12:01:29 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.fromdelhi.com/2006/07/08/expire-a-session-in-rails/</guid>
		<description><![CDATA[I was looking for information on how to expire an idle rails session in say n minutes of inactivity.
Here are some resources
 http://antrover.com/blog/articles/2006/05/22/how-to-expire-a-session-in-rails 
http://rails.techno-weenie.net/question/2006/5/1/how_to_change_session_time




No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I was looking for information on how to expire an idle rails session in say n minutes of inactivity.</p>
<p>Here are some resources<br />
<a href="http://antrover.com/blog/articles/2006/05/22/how-to-expire-a-session-in-rails" > http://antrover.com/blog/articles/2006/05/22/how-to-expire-a-session-in-rails </a></p>
<p><a href="http://rails.techno-weenie.net/question/2006/5/1/how_to_change_session_time" >http://rails.techno-weenie.net/question/2006/5/1/how_to_change_session_time</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2006/07/08/expire-a-session-in-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>validating Rails association</title>
		<link>http://vinsol.com/blog/2006/07/08/validating-rails-association/</link>
		<comments>http://vinsol.com/blog/2006/07/08/validating-rails-association/#comments</comments>
		<pubDate>Sat, 08 Jul 2006 07:08:56 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.fromdelhi.com/2006/07/08/validating-rails-association/</guid>
		<description><![CDATA[Should ActiveRecord add validations based on associations defined in the models?

class User &#60; ActiveRecord::Base
  has_many :posts
end 

class Post &#60; ActiveRecord::Base
  belongs_to :user
end 

If i create an instance of a post with a user_id that does not exist in the Users table, I wish ActiveRecord threw up a validation error on saving this instance [...]


Related posts:<ol><li><a href='http://vinsol.com/blog/2010/04/09/introduction-to-active-scaffold-part-i/' rel='bookmark' title='Permanent Link: Introduction to Active Scaffold  Part I'>Introduction to Active Scaffold  Part I</a> <small>I originally wrote this article for fifth issue of Rails...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Should ActiveRecord add validations based on associations defined in the models?</p>
<pre>
<code>class User &lt; ActiveRecord::Base
  has_many :posts
end 

class Post &lt; ActiveRecord::Base
  belongs_to :user
end </code>
</pre>
<p>If i create an instance of a post with a user_id that does not exist in the Users table, I wish ActiveRecord threw up a validation error on saving this instance of post.<br />
It does not do so by default, so here are the validations that I add to my models to implement this.</p>
<pre>
<code>class User &lt; ActiveRecord::Base
  has_many :posts
end 

class Post &lt; ActiveRecord::Base
  belongs_to :user
  validates_associated :user
  validates_presence_of :user
end
</code>
</pre>
<p>Now if I try and save a post without a user_id or with a user_id that is not found in the Users table, an exception is thrown.</p>
<p>Till now I always use to create foreign keys in my database, as a safety net. So that the db throws an error if my data is not consistent.<br />
 After adding these validations, I hope not to have foreign keys in the database anymore.</p>


<p>Related posts:<ol><li><a href='http://vinsol.com/blog/2010/04/09/introduction-to-active-scaffold-part-i/' rel='bookmark' title='Permanent Link: Introduction to Active Scaffold  Part I'>Introduction to Active Scaffold  Part I</a> <small>I originally wrote this article for fifth issue of Rails...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2006/07/08/validating-rails-association/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>testing rails application</title>
		<link>http://vinsol.com/blog/2006/04/26/testing-rails-application/</link>
		<comments>http://vinsol.com/blog/2006/04/26/testing-rails-application/#comments</comments>
		<pubDate>Wed, 26 Apr 2006 13:09:27 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.fromdelhi.com/2006/04/26/testing-rails-application/</guid>
		<description><![CDATA[Have been busy recently comparing Rails 1.1&#8217;s integration testing and WATIR and selenium for end-to-end testing a rails application.
The testing scenario is that the webserver is running on a remote Linux box in US, to which we have ssh access.
And we are testing the application from India. So we cannot run the browser on that [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Have been busy recently comparing <a href="http://jamis.jamisbuck.org/articles/2006/03/09/integration-testing-in-rails-1-1" >Rails 1.1&#8217;s integration testing</a> and <a href="http://wtr.rubyforge.org" >WATIR</a> and <a href="http://selenium.thoughtworks.com" >selenium</a> for end-to-end testing a rails application.</p>
<p>The testing scenario is that the webserver is running on a remote Linux box in US, to which we have ssh access.<br />
And we are testing the application from India. So we cannot run the browser on that machine. </p>
<p>We are writing test cases for various parts of the application using each of these tools and then we would compare notes.</p>
<p>A few things however are clear rightaway.</p>
<p>
WATIR will test only for IE on windows. Firefox support for watir called firewatir is being built, and is not robust as of now. Also we might need different sets of test scripts for firefox and IE.</p>
<p>Selenium is the easiest to get started in the BrowseBot FITRunner mode; haven&#8217;t tried the &#8220;driven&#8221; mode yet. FIT mode would not allow us to verify values on the screen against those in the db&#8230; but then probably those tests should go into the &#8220;controller testing&#8221;(functional testing) and not be at this level. When we want to test against db for multiple controllers then rails&#8217; integration testing is the probably the best way.</p>
<p>Running selenium in &#8220;driven&#8221; mode will take some research, for which i have not been able to spare time.</p>
<p>WATIR requires ruby and watir gems to be installed on the client computer. Hence if we want to share UI tests with our non-technical client, Selenium is better since it requires no installation.</p>
<p>From the aspect of writing test cases, WATIR is better than selenium&#8217;s FIT mode. Selenium test cases need to be written in html. And there is no control flow in the selenium core, though there is  a user contributed library for this.</p>
<p>For certain kind of testing, such as against db values and checking values in session, Rails functional tests and integration tests are great.</p>
<p>Will share more experiences on this when we are through with the exercise.</p>
<p>How has your experience with these tools been?</p>
<p>***********************************<br />
Received this profound quotation in my email today. </p>
<p>&#8220;The greatest good you can do for another is not just to share your riches, but to reveal to him his own.&#8221;<br />
Benjamin Disraeli<br />
1804-1881, Former British Prime Minister<br />
***********************************
</p>
]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2006/04/26/testing-rails-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
