<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Validation with the use of validates_uniqueness_of]]></title>
		<link>http://railsforum.com/viewtopic.php?id=45322</link>
		<description><![CDATA[The most recent posts in Validation with the use of validates_uniqueness_of.]]></description>
		<lastBuildDate>Wed, 31 Aug 2011 15:53:15 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Validation with the use of validates_uniqueness_of]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=143801#p143801</link>
			<description><![CDATA[<p>Hello,<br />I have a small question. After a validation by validates_uniqueness_of method in Active Record I would like to create a link to a specific record if it already exists (so, if I get false during this validation). Do You have any aproaches, ideas how to do this the best? I am thinking about doing this during validation process, maybe in model and then send this link via validation message (which I show later via flash method in the view)? Is it possible? Thank You in advance for any ideas and help!</p>]]></description>
			<author><![CDATA[dummy@example.com (Martinzs)]]></author>
			<pubDate>Wed, 31 Aug 2011 15:53:15 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=143801#p143801</guid>
		</item>
	</channel>
</rss>
