<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments for Ruby on Rails Resources</title>
	<link>http://smoothrails.com</link>
	<description>Ruby on Rails news resources and information RoR code snippets and help scripts for newbies.</description>
	<pubDate>Sat, 05 Jul 2008 01:53:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>Comment on Rails Running Slower in Dev? by Shad</title>
		<link>http://smoothrails.com/2006/01/16/rails-running-slower-in-dev/#comment-656</link>
		<author>Shad</author>
		<pubDate>Sun, 01 Jul 2007 06:21:42 +0000</pubDate>
		<guid>http://smoothrails.com/2006/01/16/rails-running-slower-in-dev/#comment-656</guid>
		<description>Point well made. Thanks for the clarification Tim.</description>
		<content:encoded><![CDATA[<p>Point well made. Thanks for the clarification Tim.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails Running Slower in Dev? by Tim Harper</title>
		<link>http://smoothrails.com/2006/01/16/rails-running-slower-in-dev/#comment-64</link>
		<author>Tim Harper</author>
		<pubDate>Wed, 04 Apr 2007 17:19:35 +0000</pubDate>
		<guid>http://smoothrails.com/2006/01/16/rails-running-slower-in-dev/#comment-64</guid>
		<description>Good article.  It's also noteworthy to point out that in Dev mode, models and controllers are not cached once their compiled.  They are re-parsed and recompiled once per use per request.

In production mode, it's not so.  Controllers and models are all parsed and compiled on startup, and then reused until the end of the process life.</description>
		<content:encoded><![CDATA[<p>Good article.  It&#8217;s also noteworthy to point out that in Dev mode, models and controllers are not cached once their compiled.  They are re-parsed and recompiled once per use per request.</p>
<p>In production mode, it&#8217;s not so.  Controllers and models are all parsed and compiled on startup, and then reused until the end of the process life.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RAILS PLUGIN: Ajax Scaffold File Upload plugin by Jon</title>
		<link>http://smoothrails.com/2007/01/29/rails-plugin-ajax-scaffold-file-upload-plugin/#comment-29</link>
		<author>Jon</author>
		<pubDate>Mon, 12 Mar 2007 16:48:24 +0000</pubDate>
		<guid>http://smoothrails.com/2007/01/29/rails-plugin-ajax-scaffold-file-upload-plugin/#comment-29</guid>
		<description>Nice work, a real time saver! Much thanks!</description>
		<content:encoded><![CDATA[<p>Nice work, a real time saver! Much thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RMagick for Fedora Core 6 - (How to overcome [BUG] Segmentation fault) by Frank</title>
		<link>http://smoothrails.com/2007/01/17/rmagick-for-fedora-core-6-how-to-overcome-bug-segmentation-fault/#comment-28</link>
		<author>Frank</author>
		<pubDate>Mon, 12 Mar 2007 03:03:24 +0000</pubDate>
		<guid>http://smoothrails.com/2007/01/17/rmagick-for-fedora-core-6-how-to-overcome-bug-segmentation-fault/#comment-28</guid>
		<description>Thanks. Very helpful. And it worked like a champ on my f6.</description>
		<content:encoded><![CDATA[<p>Thanks. Very helpful. And it worked like a champ on my f6.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Launching external tools from radrails (without using the internal console window) by fzx</title>
		<link>http://smoothrails.com/2007/01/10/radrails-tip-launching-an-external-rails-console-for-the-current-project/#comment-25</link>
		<author>fzx</author>
		<pubDate>Sun, 11 Mar 2007 14:52:32 +0000</pubDate>
		<guid>http://smoothrails.com/2007/01/10/radrails-tip-launching-an-external-rails-console-for-the-current-project/#comment-25</guid>
		<description>Can you tell in detail how to debug with ruby-debug?</description>
		<content:encoded><![CDATA[<p>Can you tell in detail how to debug with ruby-debug?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RMagick for Fedora Core 6 - (How to overcome [BUG] Segmentation fault) by Christian Hamer</title>
		<link>http://smoothrails.com/2007/01/17/rmagick-for-fedora-core-6-how-to-overcome-bug-segmentation-fault/#comment-17</link>
		<author>Christian Hamer</author>
		<pubDate>Thu, 08 Mar 2007 16:15:04 +0000</pubDate>
		<guid>http://smoothrails.com/2007/01/17/rmagick-for-fedora-core-6-how-to-overcome-bug-segmentation-fault/#comment-17</guid>
		<description>I had the same problem on FC6 with 'gem install rmagick' throwing off lots of errors when trying to generate documentation.  Turns out it was looking for TrueType fonts in /usr/share/fonts/default/TrueType.  I worked around this by making sure corefonts (http://corefonts.sf.net) was installed and then:
# cd /usr/share/fonts/default
# ln -s ../msttcorefonts TrueType
then re-running 'gem install rmagick' which ran to completion with no errors.  My rmagick scripts now work fine without having to rebuild anything else.  I don't love the symlink solution, but it's straightforward and does work for me with the FC6 versions of ruby, ImageMagick[-devel], etc.</description>
		<content:encoded><![CDATA[<p>I had the same problem on FC6 with &#8216;gem install rmagick&#8217; throwing off lots of errors when trying to generate documentation.  Turns out it was looking for TrueType fonts in /usr/share/fonts/default/TrueType.  I worked around this by making sure corefonts (http://corefonts.sf.net) was installed and then:<br />
# cd /usr/share/fonts/default<br />
# ln -s ../msttcorefonts TrueType<br />
then re-running &#8216;gem install rmagick&#8217; which ran to completion with no errors.  My rmagick scripts now work fine without having to rebuild anything else.  I don&#8217;t love the symlink solution, but it&#8217;s straightforward and does work for me with the FC6 versions of ruby, ImageMagick[-devel], etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RAILS PLUGIN: Ajax Scaffold File Upload plugin by MeanderingCode</title>
		<link>http://smoothrails.com/2007/01/29/rails-plugin-ajax-scaffold-file-upload-plugin/#comment-15</link>
		<author>MeanderingCode</author>
		<pubDate>Sun, 04 Mar 2007 04:08:59 +0000</pubDate>
		<guid>http://smoothrails.com/2007/01/29/rails-plugin-ajax-scaffold-file-upload-plugin/#comment-15</guid>
		<description>It doesn't seem to be rendering partials correctly...could easily be a problem on my end, but...




 ActionView::ActionViewError in Content_pages#view_default

Showing app/views/layouts/application.rhtml where line #46 raised:

No rhtml, rxml, rjs or delegate template found for content_pages/_suckerfish in script/../config/../app/views

Extracted source (around line #46):

43:       &lt;!--%= render_component(:controller =&#62;--&gt; 'page/menubar', :action =&#62;
44:       'suckerfish') %--&#62;
45:        'menu_items/suckerfish',
46:           :locals =&#62; {:items =&#62; session[:menu].get_menu(0)} %&#62;
47:     
48:   
49: 

RAILS_ROOT: script/../config/..

Application Trace :

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/base.rb:399:in `find_template_extension_for'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/base.rb:335:in `pick_template_extension'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/base.rb:249:in `render_file'
vendor/plugins/ajaxscaffoldp/lib/ajax_scaffold_plugin.rb:467:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/partials.rb:59:in `render_partial'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/benchmarking.rb:26:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/benchmarking.rb:26:in `benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/partials.rb:58:in `render_partial'
vendor/plugins/ajaxscaffoldp/lib/ajax_scaffold_plugin.rb:481:in `render'
#{RAILS_ROOT}/app/views/layouts/application.rhtml:46:in `_run_rhtml_47app47views47layouts47application46rhtml'




It should look for _suckerfish.rhtml in the app/views/menu_items folder, but it's looking in the app/views/content_pages folder...I think it has to do with the parse_partial_path method on line 488 of vendor/plugins/ajaxscaffoldp/lib/ajax_scaffold_plugin.rb (called from the render method living right before it in the code), but this doesn't happen before install / after remove of ajaxscaffoldp_upload.


Could this have to do with being in an iframe?  I'm pretty new to all this, so...


Thanks for anyone's thoughts.</description>
		<content:encoded><![CDATA[<p>It doesn&#8217;t seem to be rendering partials correctly&#8230;could easily be a problem on my end, but&#8230;</p>
<p> ActionView::ActionViewError in Content_pages#view_default</p>
<p>Showing app/views/layouts/application.rhtml where line #46 raised:</p>
<p>No rhtml, rxml, rjs or delegate template found for content_pages/_suckerfish in script/../config/../app/views</p>
<p>Extracted source (around line #46):</p>
<p>43:       <!--%= render_component(:controller =&gt;--> &#8216;page/menubar&#8217;, :action =&gt;<br />
44:       &#8217;suckerfish&#8217;) %&#8211;&gt;<br />
45:        &#8216;menu_items/suckerfish&#8217;,<br />
46:           :locals =&gt; {:items =&gt; session[:menu].get_menu(0)} %&gt;<br />
47:<br />
48:<br />
49: </p>
<p>RAILS_ROOT: script/../config/..</p>
<p>Application Trace :</p>
<p>/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/base.rb:399:in `find_template_extension_for&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/base.rb:335:in `pick_template_extension&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/base.rb:249:in `render_file&#8217;<br />
vendor/plugins/ajaxscaffoldp/lib/ajax_scaffold_plugin.rb:467:in `render&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/partials.rb:59:in `render_partial&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/benchmarking.rb:26:in `benchmark&#8217;<br />
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure&#8217;<br />
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/benchmarking.rb:26:in `benchmark&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/partials.rb:58:in `render_partial&#8217;<br />
vendor/plugins/ajaxscaffoldp/lib/ajax_scaffold_plugin.rb:481:in `render&#8217;<br />
#{RAILS_ROOT}/app/views/layouts/application.rhtml:46:in `_run_rhtml_47app47views47layouts47application46rhtml&#8217;</p>
<p>It should look for _suckerfish.rhtml in the app/views/menu_items folder, but it&#8217;s looking in the app/views/content_pages folder&#8230;I think it has to do with the parse_partial_path method on line 488 of vendor/plugins/ajaxscaffoldp/lib/ajax_scaffold_plugin.rb (called from the render method living right before it in the code), but this doesn&#8217;t happen before install / after remove of ajaxscaffoldp_upload.</p>
<p>Could this have to do with being in an iframe?  I&#8217;m pretty new to all this, so&#8230;</p>
<p>Thanks for anyone&#8217;s thoughts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RMagick for Fedora Core 6 - (How to overcome [BUG] Segmentation fault) by mdeering</title>
		<link>http://smoothrails.com/2007/01/17/rmagick-for-fedora-core-6-how-to-overcome-bug-segmentation-fault/#comment-11</link>
		<author>mdeering</author>
		<pubDate>Fri, 23 Feb 2007 18:29:10 +0000</pubDate>
		<guid>http://smoothrails.com/2007/01/17/rmagick-for-fedora-core-6-how-to-overcome-bug-segmentation-fault/#comment-11</guid>
		<description>&lt;code&gt;rpm -e ruby libruby
error: package libruby is not installed &lt;/code&gt;

This line does nothing for me.  Do you mean to execute this line with "libruby" replaced by each of the rpms listed by the command
&lt;code&gt;
rpm -qa &#124; grep ruby

ruby-ri-1.8.5.2-1.fc6
ruby-mysql-2.7.1-2.fc6
ruby-docs-1.8.5.2-1.fc6
ruby-libs-1.8.5.2-1.fc6
ruby-irb-1.8.5.2-1.fc6
subversion-ruby-1.4.2-2.fc6
ruby-1.8.5.2-1.fc6
rubygems-0.9.1-1.fc6
ruby-mode-1.8.5.2-1.fc6
ruby-devel-1.8.5.2-1.fc6
ruby-rdoc-1.8.5.2-1.fc6
&lt;/code&gt;

Thanks</description>
		<content:encoded><![CDATA[<p><code>rpm -e ruby libruby<br />
error: package libruby is not installed </code></p>
<p>This line does nothing for me.  Do you mean to execute this line with &#8220;libruby&#8221; replaced by each of the rpms listed by the command<br />
<code><br />
rpm -qa | grep ruby</p>
<p>ruby-ri-1.8.5.2-1.fc6<br />
ruby-mysql-2.7.1-2.fc6<br />
ruby-docs-1.8.5.2-1.fc6<br />
ruby-libs-1.8.5.2-1.fc6<br />
ruby-irb-1.8.5.2-1.fc6<br />
subversion-ruby-1.4.2-2.fc6<br />
ruby-1.8.5.2-1.fc6<br />
rubygems-0.9.1-1.fc6<br />
ruby-mode-1.8.5.2-1.fc6<br />
ruby-devel-1.8.5.2-1.fc6<br />
ruby-rdoc-1.8.5.2-1.fc6<br />
</code></p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Launching external tools from radrails (without using the internal console window) by Bernie Wolford</title>
		<link>http://smoothrails.com/2007/01/10/radrails-tip-launching-an-external-rails-console-for-the-current-project/#comment-10</link>
		<author>Bernie Wolford</author>
		<pubDate>Fri, 16 Feb 2007 16:10:09 +0000</pubDate>
		<guid>http://smoothrails.com/2007/01/10/radrails-tip-launching-an-external-rails-console-for-the-current-project/#comment-10</guid>
		<description>Thanks for the explanation.

I followed your instructions for creating an external console but when I try to run it - it opens for a millisecond or two and then closes again.  I double checked your suggested settings but to no avail.

Did I miss something or is my problem unique?</description>
		<content:encoded><![CDATA[<p>Thanks for the explanation.</p>
<p>I followed your instructions for creating an external console but when I try to run it - it opens for a millisecond or two and then closes again.  I double checked your suggested settings but to no avail.</p>
<p>Did I miss something or is my problem unique?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RAILS PLUGIN: Ajax Scaffold File Upload plugin by StuartD</title>
		<link>http://smoothrails.com/2007/01/29/rails-plugin-ajax-scaffold-file-upload-plugin/#comment-9</link>
		<author>StuartD</author>
		<pubDate>Fri, 16 Feb 2007 08:00:07 +0000</pubDate>
		<guid>http://smoothrails.com/2007/01/29/rails-plugin-ajax-scaffold-file-upload-plugin/#comment-9</guid>
		<description>Excellent work - this is exactly what I'm looking for - have you thought about getting this working with edge?</description>
		<content:encoded><![CDATA[<p>Excellent work - this is exactly what I&#8217;m looking for - have you thought about getting this working with edge?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
