<?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"
	>
<channel>
	<title>Comments on: Dynamic CSS in Ruby on Rails</title>
	<atom:link href="http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/</link>
	<description>It would be a good idea.</description>
	<pubDate>Fri, 25 Jul 2008 23:55:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: BTreeHugger</title>
		<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-3621</link>
		<dc:creator>BTreeHugger</dc:creator>
		<pubDate>Sun, 22 Jun 2008 15:43:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.misuse.org.check.geekisp.com/cms/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-3621</guid>
		<description>Thanks a bunch! You might want to tinker with your code-rendering on this site so that it doesn't change your quotes to Unicode ones; or provide a download link as plain-text.

Incidentally, I had to change your test-case so that it tests a match on type, not Content-Type:

  #ensure content-type is text/css
  assert_match @response.headers['type'], “text/css”</description>
		<content:encoded><![CDATA[<p>Thanks a bunch! You might want to tinker with your code-rendering on this site so that it doesn&#8217;t change your quotes to Unicode ones; or provide a download link as plain-text.</p>
<p>Incidentally, I had to change your test-case so that it tests a match on type, not Content-Type:</p>
<p>  #ensure content-type is text/css<br />
  assert_match @response.headers['type'], “text/css”</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: science</title>
		<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-515</link>
		<dc:creator>science</dc:creator>
		<pubDate>Thu, 20 Dec 2007 17:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.misuse.org.check.geekisp.com/cms/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-515</guid>
		<description>Note: it's possible to include a dynamic file as a stylesheet just like normal! Something like so:
&lt;code&gt;&lt;pre&gt;&lt;%= stylesheet_link_tag('/rcss/default', {:media =&gt; "all"})%&gt;
&lt;/pre&gt;&lt;/code&gt;
You could of course map a route for this in routes.rb. I'll leave that as an exercise for the reader. : )</description>
		<content:encoded><![CDATA[<p>Note: it&#8217;s possible to include a dynamic file as a stylesheet just like normal! Something like so:<br />
<code>
<pre>< %= stylesheet_link_tag('/rcss/default', {:media => &#8220;all&#8221;})%>
</pre>
<p></code><br />
You could of course map a route for this in routes.rb. I&#8217;ll leave that as an exercise for the reader. : )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monica</title>
		<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-441</link>
		<dc:creator>monica</dc:creator>
		<pubDate>Tue, 11 Dec 2007 16:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.misuse.org.check.geekisp.com/cms/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-441</guid>
		<description>Yes, thank you very much. You were a great help!!!!</description>
		<content:encoded><![CDATA[<p>Yes, thank you very much. You were a great help!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: science</title>
		<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-439</link>
		<dc:creator>science</dc:creator>
		<pubDate>Mon, 10 Dec 2007 17:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.misuse.org.check.geekisp.com/cms/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-439</guid>
		<description>Just to close out the comments with Monica - Science got a copy of Monica's original application and it yielded to the Method. The code above still works and Monica is off and running!</description>
		<content:encoded><![CDATA[<p>Just to close out the comments with Monica - Science got a copy of Monica&#8217;s original application and it yielded to the Method. The code above still works and Monica is off and running!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: science</title>
		<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-413</link>
		<dc:creator>science</dc:creator>
		<pubDate>Wed, 05 Dec 2007 17:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.misuse.org.check.geekisp.com/cms/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-413</guid>
		<description>Monica, what's your routes.rb file look like? Do you have an entry for:
&lt;pre&gt;&lt;code&gt;
map.connect 'rcss/:rcssfile', :controller =&gt; 'rcss', :action =&gt; 'rcss' 
&lt;/code&gt;&lt;/pre&gt;
Send us what you've got and hopefully we can work this out for you!</description>
		<content:encoded><![CDATA[<p>Monica, what&#8217;s your routes.rb file look like? Do you have an entry for:</p>
<pre><code>
map.connect 'rcss/:rcssfile', :controller => 'rcss', :action => 'rcss'
</code></pre>
<p>Send us what you&#8217;ve got and hopefully we can work this out for you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monica</title>
		<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-412</link>
		<dc:creator>monica</dc:creator>
		<pubDate>Wed, 05 Dec 2007 11:57:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.misuse.org.check.geekisp.com/cms/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-412</guid>
		<description>hi guys, 
I get a problem all the time:

no route found to match "/rcss/default.css" with {:method=&#62;:get}

It seems to be 'stupid' but I'm not able to get the solution. 
I've been looking at the routes.rb, trying to modify them,... but no way.
May you please give me some advice? 

I'm looking forward to making it works.... thanks a lot in advance!</description>
		<content:encoded><![CDATA[<p>hi guys,<br />
I get a problem all the time:</p>
<p>no route found to match &#8220;/rcss/default.css&#8221; with {:method=&gt;:get}</p>
<p>It seems to be &#8217;stupid&#8217; but I&#8217;m not able to get the solution.<br />
I&#8217;ve been looking at the routes.rb, trying to modify them,&#8230; but no way.<br />
May you please give me some advice? </p>
<p>I&#8217;m looking forward to making it works&#8230;. thanks a lot in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: science</title>
		<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-394</link>
		<dc:creator>science</dc:creator>
		<pubDate>Mon, 19 Nov 2007 17:52:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.misuse.org.check.geekisp.com/cms/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-394</guid>
		<description>From Alexander May via email:

"I've created a extension to do syntax highlighting for rcss files in
ActiveState's Komodo IDE (which admittedly has a smaller following
then Textmate) . http://codingfrenzy.alexpmay.com/2007/11/syntax-coloring-for-dynamic-css.html"

Thanks Alex! Science appreciates progress.</description>
		<content:encoded><![CDATA[<p>From Alexander May via email:</p>
<p>&#8220;I&#8217;ve created a extension to do syntax highlighting for rcss files in<br />
ActiveState&#8217;s Komodo IDE (which admittedly has a smaller following<br />
then Textmate) . <a href="http://codingfrenzy.alexpmay.com/2007/11/syntax-coloring-for-dynamic-css.html" rel="nofollow">http://codingfrenzy.alexpmay.com/2007/11/syntax-coloring-for-dynamic-css.html</a>&#8221;</p>
<p>Thanks Alex! Science appreciates progress.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nealf</title>
		<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-32</link>
		<dc:creator>nealf</dc:creator>
		<pubDate>Thu, 05 Jul 2007 06:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.misuse.org.check.geekisp.com/cms/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-32</guid>
		<description>Using rails 1.2.3, had to adjust the route to...
map.connect 'rcss/:rcssfile.:format', :controller =&#62; 'rcss', :action =&#62; 'rcss'</description>
		<content:encoded><![CDATA[<p>Using rails 1.2.3, had to adjust the route to&#8230;<br />
map.connect &#8216;rcss/:rcssfile.:format&#8217;, :controller =&gt; &#8216;rcss&#8217;, :action =&gt; &#8216;rcss&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: linoj</title>
		<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-9</link>
		<dc:creator>linoj</dc:creator>
		<pubDate>Sun, 29 Apr 2007 05:51:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.misuse.org.check.geekisp.com/cms/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-9</guid>
		<description>lastly, (this wasn't obvious to me at first) in your layout the link tag might look like this:
&lt;pre&gt;&lt;code&gt;&lt;%= stylesheet_link_tag '/rcss/style' %&gt;&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>lastly, (this wasn&#8217;t obvious to me at first) in your layout the link tag might look like this:</p>
<pre><code>< %= stylesheet_link_tag '/rcss/style' %></code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: science</title>
		<link>http://www.misuse.org/science/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-8</link>
		<dc:creator>science</dc:creator>
		<pubDate>Sat, 28 Apr 2007 21:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.misuse.org.check.geekisp.com/cms/2006/09/26/dynamic-css-in-ruby-on-rails/#comment-8</guid>
		<description>Thanks for the updated code linoj - greatly appreciated! 

(Older versions of Rails didn't consider a "." as a separator, so I think my routes.rb code used to work but your code fixes this for new Rails versions.)</description>
		<content:encoded><![CDATA[<p>Thanks for the updated code linoj - greatly appreciated! </p>
<p>(Older versions of Rails didn&#8217;t consider a &#8220;.&#8221; as a separator, so I think my routes.rb code used to work but your code fixes this for new Rails versions.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
