<?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: Delimiter must not be alphanumeric or backslash [CORE\cake\libs\model\model.php, line 2202]</title>
	<atom:link href="http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/feed/" rel="self" type="application/rss+xml" />
	<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/</link>
	<description>Opinions, Thoughts and Ideas - PHP, Java and Javascript</description>
	<lastBuildDate>Sun, 22 Aug 2010 05:16:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Michel</title>
		<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/comment-page-1/#comment-12762</link>
		<dc:creator>Michel</dc:creator>
		<pubDate>Sat, 07 Aug 2010 16:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.ifupdown.com/?p=216#comment-12762</guid>
		<description>Fixed my problem. Thanks.</description>
		<content:encoded><![CDATA[<p>Fixed my problem. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik</title>
		<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/comment-page-1/#comment-12539</link>
		<dc:creator>Nik</dc:creator>
		<pubDate>Tue, 27 Jul 2010 04:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.ifupdown.com/?p=216#comment-12539</guid>
		<description>Brilliant- thanks! .. Worked for me :)</description>
		<content:encoded><![CDATA[<p>Brilliant- thanks! .. Worked for me :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vangel</title>
		<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/comment-page-1/#comment-11868</link>
		<dc:creator>vangel</dc:creator>
		<pubDate>Sat, 12 Jun 2010 14:24:16 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.ifupdown.com/?p=216#comment-11868</guid>
		<description>thanks, you saved my time. i dont understand why the cookbook is not updated. I only see this in 1.3 version i downloaded a few days ago. In my older version on 1.3 stable this is not the case. just if it helps someone.

&lt;em&gt;Merged&lt;/em&gt;
hmm on second thoughts i do agree with Admad but not completely. &#039;required&#039; is a rule however the array key &#039;rule&#039; must be specified with a ruleName http://book.cakephp.org/view/127/One-Rule-Per-Field . then this array hack is not needed. I found this because i have multiple validation rules and although your workaround is quite ok and it works, it will not always work. good job though.</description>
		<content:encoded><![CDATA[<p>thanks, you saved my time. i dont understand why the cookbook is not updated. I only see this in 1.3 version i downloaded a few days ago. In my older version on 1.3 stable this is not the case. just if it helps someone.</p>
<p><em>Merged</em><br />
hmm on second thoughts i do agree with Admad but not completely. &#8216;required&#8217; is a rule however the array key &#8216;rule&#8217; must be specified with a ruleName <a href="http://book.cakephp.org/view/127/One-Rule-Per-Field" rel="nofollow">http://book.cakephp.org/view/127/One-Rule-Per-Field</a> . then this array hack is not needed. I found this because i have multiple validation rules and although your workaround is quite ok and it works, it will not always work. good job though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Souvik Sengupta</title>
		<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/comment-page-1/#comment-11561</link>
		<dc:creator>Souvik Sengupta</dc:creator>
		<pubDate>Thu, 27 May 2010 18:19:32 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.ifupdown.com/?p=216#comment-11561</guid>
		<description>try this:

var $validate = array
	(
		&#039;employee_name&#039;=&gt;array
		(
			&#039;rule&#039;=&gt;&#039;notEmpty&#039;,
			&#039;message&#039;=&gt;&#039;Please give employee name&#039;
		)
	);

it worked for me...</description>
		<content:encoded><![CDATA[<p>try this:</p>
<p>var $validate = array<br />
	(<br />
		&#8216;employee_name&#8217;=&gt;array<br />
		(<br />
			&#8216;rule&#8217;=&gt;&#8217;notEmpty&#8217;,<br />
			&#8216;message&#8217;=&gt;&#8217;Please give employee name&#8217;<br />
		)<br />
	);</p>
<p>it worked for me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: omabena</title>
		<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/comment-page-1/#comment-11181</link>
		<dc:creator>omabena</dc:creator>
		<pubDate>Wed, 28 Apr 2010 23:40:22 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.ifupdown.com/?p=216#comment-11181</guid>
		<description>I don&#039;t know why that solves the problems, but it just  works, btw i was using notempty rule, which it&#039;s part of the manual.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know why that solves the problems, but it just  works, btw i was using notempty rule, which it&#8217;s part of the manual.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mmhan</title>
		<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/comment-page-1/#comment-5009</link>
		<dc:creator>mmhan</dc:creator>
		<pubDate>Wed, 22 Jul 2009 13:27:03 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.ifupdown.com/?p=216#comment-5009</guid>
		<description>Many fields of mine were lost when $this-&gt;save() is called only after half an hour I found that the fields that I&#039;m left with is the field with &#039;require&#039; =&gt; &#039;true&#039; hack.

I know better now how not to use this hack. LOL</description>
		<content:encoded><![CDATA[<p>Many fields of mine were lost when $this-&gt;save() is called only after half an hour I found that the fields that I&#8217;m left with is the field with &#8216;require&#8217; =&gt; &#8216;true&#8217; hack.</p>
<p>I know better now how not to use this hack. LOL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kym</title>
		<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/comment-page-1/#comment-873</link>
		<dc:creator>Kym</dc:creator>
		<pubDate>Thu, 08 Jan 2009 01:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.ifupdown.com/?p=216#comment-873</guid>
		<description>hey, thanks, helped me a lot</description>
		<content:encoded><![CDATA[<p>hey, thanks, helped me a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ADmad</title>
		<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/comment-page-1/#comment-383</link>
		<dc:creator>ADmad</dc:creator>
		<pubDate>Tue, 18 Nov 2008 07:06:59 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.ifupdown.com/?p=216#comment-383</guid>
		<description>You are getting the error because you are not creating the validate array properly.  And what you are doing is a hack. You need to specify a &#039;rule&#039; for each field.  &#039;required&#039; is NOT a rule.  I suggest you re-read the manual http://book.cakephp.org/view/127/One-Rule-Per-Field</description>
		<content:encoded><![CDATA[<p>You are getting the error because you are not creating the validate array properly.  And what you are doing is a hack. You need to specify a &#8216;rule&#8217; for each field.  &#8216;required&#8217; is NOT a rule.  I suggest you re-read the manual <a href="http://book.cakephp.org/view/127/One-Rule-Per-Field" rel="nofollow">http://book.cakephp.org/view/127/One-Rule-Per-Field</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/comment-page-1/#comment-64</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Thu, 25 Sep 2008 13:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.ifupdown.com/?p=216#comment-64</guid>
		<description>I was getting this very same error and it was driving me nuts. Thank you, thank you, thank you for this post clearing up the necessity for setting required as an array.</description>
		<content:encoded><![CDATA[<p>I was getting this very same error and it was driving me nuts. Thank you, thank you, thank you for this post clearing up the necessity for setting required as an array.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Hardy</title>
		<link>http://ryan.ifupdown.com/2008/08/24/delimiter-must-not-be-alphanumeric-or-backslash-corecakelibsmodelmodelphp-line-2202/comment-page-1/#comment-35</link>
		<dc:creator>Jason Hardy</dc:creator>
		<pubDate>Thu, 18 Sep 2008 23:33:54 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.ifupdown.com/?p=216#comment-35</guid>
		<description>Amen Kim!

I too am going through the Apress book and ran in the error.  I still wonder if this is a Cake bug... or just maybe a slight oversight in Apress.</description>
		<content:encoded><![CDATA[<p>Amen Kim!</p>
<p>I too am going through the Apress book and ran in the error.  I still wonder if this is a Cake bug&#8230; or just maybe a slight oversight in Apress.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
