<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Rails: Almost Automatic Client-Side Validation</title>
	<atom:link href="http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/</link>
	<description>Sentenced to making sense</description>
	<lastBuildDate>Thu, 08 Apr 2010 22:54:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: olia</title>
		<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/comment-page-1/#comment-89356</link>
		<dc:creator>olia</dc:creator>
		<pubDate>Tue, 10 Feb 2009 02:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://schuerig.de/michael/blog/?p=8#comment-89356</guid>
		<description>Thanks for the reply Michael!

I guess I have to do some coding, rather than trying to piece together other people&#039;s work! :)

But I think I am understanding how to achieve some results with .invalid, based on your example.  Needless to say, I&#039;m new to CSS as well...

Thanks again!
Olia</description>
		<content:encoded><![CDATA[<p>Thanks for the reply Michael!</p>
<p>I guess I have to do some coding, rather than trying to piece together other people&#8217;s work! <img src='http://www.schuerig.de/michael/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But I think I am understanding how to achieve some results with .invalid, based on your example.  Needless to say, I&#8217;m new to CSS as well&#8230;</p>
<p>Thanks again!<br />
Olia</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/comment-page-1/#comment-89355</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Tue, 10 Feb 2009 02:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://schuerig.de/michael/blog/?p=8#comment-89355</guid>
		<description>Olia, displaying an error message is something you have to code yourself. There are just too many ways to do this and too many complications that I did not have a general solution when I wrote the validator script more than three years ago.

What you can get easily is some CSS styling for fields that have errors. See the example above.

You might be better off with another solution, however, none of the other validator scripts that I ever was aware of do everything you would want them to.</description>
		<content:encoded><![CDATA[<p>Olia, displaying an error message is something you have to code yourself. There are just too many ways to do this and too many complications that I did not have a general solution when I wrote the validator script more than three years ago.</p>
<p>What you can get easily is some CSS styling for fields that have errors. See the example above.</p>
<p>You might be better off with another solution, however, none of the other validator scripts that I ever was aware of do everything you would want them to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: olia</title>
		<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/comment-page-1/#comment-89351</link>
		<dc:creator>olia</dc:creator>
		<pubDate>Tue, 10 Feb 2009 01:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://schuerig.de/michael/blog/?p=8#comment-89351</guid>
		<description>Hi Michael,
thank you for the plugin!  I got it working as you described -- the submit button is disabled if the form is invalid.  But I am not sure how to make it display the appropriate error messages as the user types.  I must be missing something basic, I am new to this, please advise!

thank you,
Olia</description>
		<content:encoded><![CDATA[<p>Hi Michael,<br />
thank you for the plugin!  I got it working as you described &#8212; the submit button is disabled if the form is invalid.  But I am not sure how to make it display the appropriate error messages as the user types.  I must be missing something basic, I am new to this, please advise!</p>
<p>thank you,<br />
Olia</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/comment-page-1/#comment-89063</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Sat, 07 Feb 2009 00:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://schuerig.de/michael/blog/?p=8#comment-89063</guid>
		<description>I&#039;d have to see the place where stringify_keys! is called originally. There&#039;s one place in my code (#add_class_name!) and although I don&#039;t see how it might lead to an infinite recursion, you may try to comment it out.

I&#039;ve just uploaded a new version fixing another problem with Rails 2.2.2 to Rubyforge, so please update your version before trying anything else.</description>
		<content:encoded><![CDATA[<p>I&#8217;d have to see the place where stringify_keys! is called originally. There&#8217;s one place in my code (#add_class_name!) and although I don&#8217;t see how it might lead to an infinite recursion, you may try to comment it out.</p>
<p>I&#8217;ve just uploaded a new version fixing another problem with Rails 2.2.2 to Rubyforge, so please update your version before trying anything else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satyajit</title>
		<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/comment-page-1/#comment-89050</link>
		<dc:creator>Satyajit</dc:creator>
		<pubDate>Fri, 06 Feb 2009 22:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://schuerig.de/michael/blog/?p=8#comment-89050</guid>
		<description>Hi Michael, the instructions seemed st-fwd, however, I get the error on console while trying to fetch the page: Is there an issue with Rails/ActiveRecord2.2.2?

ActionView::TemplateError (stack level too deep) on line #23 of app/views/.........rhtml:
23:                                                      36, :class =&gt; &#039;text&#039; %&gt;

    /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/keys.rb:16:in `stringify_keys!&#039;
    /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/keys.rb:15:in `each&#039;
    /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/keys.rb:15:in `stringify_keys!&#039;
.....

I get the error with or without adding html =&gt; {:class =&gt; &#039;validated&#039;} in form_for.
Any clue?</description>
		<content:encoded><![CDATA[<p>Hi Michael, the instructions seemed st-fwd, however, I get the error on console while trying to fetch the page: Is there an issue with Rails/ActiveRecord2.2.2?</p>
<p>ActionView::TemplateError (stack level too deep) on line #23 of app/views/&#8230;&#8230;&#8230;rhtml:<br />
23:                                                      36, :class =&gt; &#8216;text&#8217; %&gt;</p>
<p>    /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/keys.rb:16:in `stringify_keys!&#8217;<br />
    /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/keys.rb:15:in `each&#8217;<br />
    /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/keys.rb:15:in `stringify_keys!&#8217;<br />
&#8230;..</p>
<p>I get the error with or without adding html =&gt; {:class =&gt; &#8216;validated&#8217;} in form_for.<br />
Any clue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lsi</title>
		<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/comment-page-1/#comment-65575</link>
		<dc:creator>lsi</dc:creator>
		<pubDate>Sun, 07 Sep 2008 08:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://schuerig.de/michael/blog/?p=8#comment-65575</guid>
		<description>it would be better with other languages support, but thanks..</description>
		<content:encoded><![CDATA[<p>it would be better with other languages support, but thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/comment-page-1/#comment-54443</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Tue, 22 Jul 2008 05:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://schuerig.de/michael/blog/?p=8#comment-54443</guid>
		<description>Wilton, I have no idea why RAILS_ROOT might not be defined in your case. I just created a fresh Rails 2.1 project (on Linux) and then

&lt;code&gt;&lt;pre&gt;
script/plugin install  svn://rubyforge.org/var/svn/clientsidevali/client_side_validation/trunk 
&lt;/pre&gt;&lt;/code&gt;

and it worked.</description>
		<content:encoded><![CDATA[<p>Wilton, I have no idea why RAILS_ROOT might not be defined in your case. I just created a fresh Rails 2.1 project (on Linux) and then</p>
<p><code>
<pre>
script/plugin install  <a href="svn://rubyforge.org/var/svn/clientsidevali/client_side_validation/trunk" rel="nofollow">svn://rubyforge.org/var/svn/clientsidevali/client_side_validation/trunk</a>
</pre>
<p></code></p>
<p>and it worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilton</title>
		<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/comment-page-1/#comment-54389</link>
		<dc:creator>Wilton</dc:creator>
		<pubDate>Tue, 22 Jul 2008 00:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://schuerig.de/michael/blog/?p=8#comment-54389</guid>
		<description>Hi, Michael.
How can I install the plugin on Windows Rails environment? 
My configuration is:
Rails: 2.1.0
Ruby: 1.8.6
Gem: 1.2.0
rake: 0.8.1

/vendor/plugins/client_side_validation# ruby install.rb 
install.rb:7: uninitialized constant RAILS_ROOT (NameError)</description>
		<content:encoded><![CDATA[<p>Hi, Michael.<br />
How can I install the plugin on Windows Rails environment?<br />
My configuration is:<br />
Rails: 2.1.0<br />
Ruby: 1.8.6<br />
Gem: 1.2.0<br />
rake: 0.8.1</p>
<p>/vendor/plugins/client_side_validation# ruby install.rb<br />
install.rb:7: uninitialized constant RAILS_ROOT (NameError)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger on Better Logic &#187; Blog Archive &#187; rails almost automatic client side validation</title>
		<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/comment-page-1/#comment-40611</link>
		<dc:creator>Roger on Better Logic &#187; Blog Archive &#187; rails almost automatic client side validation</dc:creator>
		<pubDate>Thu, 22 May 2008 19:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://schuerig.de/michael/blog/?p=8#comment-40611</guid>
		<description>[...] rails almost automatic client side validation   wow this looks cool. Re-use your rails validations client-side in javascript. [I think] link [...]</description>
		<content:encoded><![CDATA[<p>[...] rails almost automatic client side validation   wow this looks cool. Re-use your rails validations client-side in javascript. [I think] link [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://www.schuerig.de/michael/blog/index.php/2006/12/15/rails-almost-automatic-client-side-validation/comment-page-1/#comment-33599</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Mon, 14 Apr 2008 17:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://schuerig.de/michael/blog/?p=8#comment-33599</guid>
		<description>Jose, if Form.Validator has no properties, than validator.js is not loaded from your page. Either the necessary script tag is missing or the script it refers to is not installed at the correct location.</description>
		<content:encoded><![CDATA[<p>Jose, if Form.Validator has no properties, than validator.js is not loaded from your page. Either the necessary script tag is missing or the script it refers to is not installed at the correct location.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

