<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - NoMethodError: undefined method `simple_format' for main:Object]]></title>
		<link>http://railsforum.com/viewtopic.php?id=46086</link>
		<description><![CDATA[The most recent posts in NoMethodError: undefined method `simple_format' for main:Object.]]></description>
		<lastBuildDate>Mon, 12 Sep 2011 14:35:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: NoMethodError: undefined method `simple_format' for main:Object]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=144811#p144811</link>
			<description><![CDATA[<p>irb(main):070:0&gt; include ActionView::Helpers<br />=&gt; Object<br />irb(main):071:0&gt; simple_format(&#039;&lt;a href=&quot;http://example.com/&quot;&gt;Example&lt;/a&gt;&#039;)<br />=&gt; &quot;&lt;p&gt;&lt;a href=\&quot;http://example.com/\&quot;&gt;Example&lt;/a&gt;&lt;/p&gt;&quot;<br />irb(main):072:0&gt; sanitize(simple_format(&#039;&lt;a href=&quot;http://example.com/&quot;&gt;Example&lt;/a&gt;&#039;))<br />=&gt; &quot;&lt;p&gt;&lt;a href=\&quot;http://example.com/\&quot;&gt;Example&lt;/a&gt;&lt;/p&gt;&quot;<br />irb(main):073:0&gt;</p>]]></description>
			<author><![CDATA[dummy@example.com (psahni)]]></author>
			<pubDate>Mon, 12 Sep 2011 14:35:32 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=144811#p144811</guid>
		</item>
		<item>
			<title><![CDATA[NoMethodError: undefined method `simple_format' for main:Object]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=144695#p144695</link>
			<description><![CDATA[<p>Hi,<br />&nbsp; &nbsp;Am using ruby 1.9.1 and my sanitize gem version is 2.0.3. i cann&#039;t use the simple_format method.<br />I am really struggling with this. anybody please help me?.</p><p>irb(main):003:0&gt; my_text = &quot;Here is some basic text...\n...with a line break.&quot;<br />=&gt; &quot;Here is some basic text...\n...with a line break.&quot;<br />irb(main):004:0&gt; Sanitize.clean(my_text)<br />=&gt; &quot;Here is some basic text...\n...with a line break.&quot;</p><p>problem:<br />--------------</p><p>irb(main):008:0&gt; simple_format(my_text)<br />NoMethodError: undefined method `simple_format&#039; for main:Object<br />&nbsp; &nbsp; from (irb):8<br />&nbsp; &nbsp; from /usr/local/bin/irb:12:in `&lt;main&gt;&#039;<br />irb(main):009:0&gt; Sanitize.clean(simple_format(my_text))<br />NoMethodError: undefined method `simple_format&#039; for main:Object<br />&nbsp; &nbsp; from (irb):9<br />&nbsp; &nbsp; from /usr/local/bin/irb:12:in `&lt;main&gt;&#039;</p>]]></description>
			<author><![CDATA[dummy@example.com (Rosy)]]></author>
			<pubDate>Thu, 08 Sep 2011 12:42:55 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=144695#p144695</guid>
		</item>
	</channel>
</rss>
