<?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: MongoMapper with Formtastic: Almost Perfect</title>
	<atom:link href="http://lorennorman.com/web-development/mongomapper-with-formtastic-almost-perfect/feed/" rel="self" type="application/rss+xml" />
	<link>http://lorennorman.com/web-development/mongomapper-with-formtastic-almost-perfect/</link>
	<description>Loren\</description>
	<lastBuildDate>Tue, 27 Sep 2011 06:42:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Matt</title>
		<link>http://lorennorman.com/web-development/mongomapper-with-formtastic-almost-perfect/comment-page-1/#comment-10878</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sat, 23 Jan 2010 03:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://lorennorman.com/?p=147#comment-10878</guid>
		<description>Ah yes, I should have mentioned that caveat about form.inputs (I don&#039;t use it often enough, so it wasn&#039;t an issue for me)</description>
		<content:encoded><![CDATA[<p>Ah yes, I should have mentioned that caveat about form.inputs (I don&#8217;t use it often enough, so it wasn&#8217;t an issue for me)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: loren</title>
		<link>http://lorennorman.com/web-development/mongomapper-with-formtastic-almost-perfect/comment-page-1/#comment-10664</link>
		<dc:creator>loren</dc:creator>
		<pubDate>Thu, 07 Jan 2010 22:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://lorennorman.com/?p=147#comment-10664</guid>
		<description>Great, thanks Justin! I&#039;ll look into it when I have time and file reports, pull requests, etc.

Thanks for the direction!</description>
		<content:encoded><![CDATA[<p>Great, thanks Justin! I&#8217;ll look into it when I have time and file reports, pull requests, etc.</p>
<p>Thanks for the direction!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin French</title>
		<link>http://lorennorman.com/web-development/mongomapper-with-formtastic-almost-perfect/comment-page-1/#comment-10663</link>
		<dc:creator>Justin French</dc:creator>
		<pubDate>Thu, 07 Jan 2010 21:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://lorennorman.com/?p=147#comment-10663</guid>
		<description>Hi, looks like if there&#039;s an object, we expect/assume that it has reflections.  It&#039;s around line 460 of formtastic.rb.  So you&#039;d either need to offer the reflection object, or we need to check that it exists before calling it.

It&#039;s not clear to me which way we should roll, need to look into where Rails 3 / ActiveModel is headed.  Please fire up an issue on Github and we&#039;ll take a look.

For some instant gratification, you can probably change line 459 from:

if @object.present?

to:

if @object.present? &amp;&amp; @object.respond_to?(:reflections)</description>
		<content:encoded><![CDATA[<p>Hi, looks like if there&#8217;s an object, we expect/assume that it has reflections.  It&#8217;s around line 460 of formtastic.rb.  So you&#8217;d either need to offer the reflection object, or we need to check that it exists before calling it.</p>
<p>It&#8217;s not clear to me which way we should roll, need to look into where Rails 3 / ActiveModel is headed.  Please fire up an issue on Github and we&#8217;ll take a look.</p>
<p>For some instant gratification, you can probably change line 459 from:</p>
<p>if @object.present?</p>
<p>to:</p>
<p>if @object.present? &amp;&amp; @object.respond_to?(:reflections)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

