<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Musings of a Trained Monkey: Rails acts_as_rateable plugin...</title>
    <link>http://www.stevelongdo.com/articles/2006/02/09/rails-acts_as_rateable-plugin</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Rails acts_as_rateable plugin...</title>
      <description>I've gotten quite a bit done on rating.  Models can now use the act_as_rateable plugin to track rating information.  I've written ActionView Helpers to implement a &lt;a href="http://komodomedia.com/blog/index.php/2006/01/09/css-star-rating-part-deux/"&gt;star  rating system&lt;/a&gt; and a very &lt;a href="http://www.robarov.be/rate/"&gt;cool 1..10 style bar&lt;/a&gt;.  I've done some preliminary studying of integration with the sciptaculous_slider rails plugin as well.&lt;br /&gt;&lt;br /&gt;
Remaining todo items include:
&lt;ul&gt;&lt;li&gt;&lt;strike&gt;Rake task to copy images the helpers use to public/images directory.&lt;/strike&gt;&lt;/li&gt;&lt;li&gt;&lt;strike&gt;Rake task to setup database tables for storing rating info.&lt;/strike&gt;&lt;/li&gt;&lt;li&gt;&lt;strike&gt;Convert the SQL file I've been using into a Migrations style script.&lt;/strike&gt;&lt;/li&gt;&lt;li&gt;Increase Unit Testing coverage.&lt;/li&gt;&lt;li&gt;Tying in a rate method on ActionControllers...&lt;/li&gt;&lt;/ul&gt;
This last item is giving me pause though.  I was wanting to include a simple rating_controller with the plugin and have it automatically register its route via the init.rb file.  I sought out help from the &lt;a href="http://wrath.rubyonrails.org/pipermail/rails/2006-February/016706.html"&gt;Rails mailing list&lt;/a&gt;, but no one &lt;strike&gt;could help&lt;/strike&gt; helped. I may pursue a rake task for adding the route into the routes.rb file.  I think this isn't nearly as cool as self-registering a route within the init.rb file, but I haven't had any luck with the methods I have tried so far.</description>
      <pubDate>Thu, 09 Feb 2006 19:25:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:4f72d246-d618-4110-924b-cf8fc26c8a0b</guid>
      <author>Steve Longdo</author>
      <link>http://www.stevelongdo.com/articles/2006/02/09/rails-acts_as_rateable-plugin</link>
      <category>ajax</category>
      <category>rating</category>
      <category>rails</category>
      <category>plugin</category>
      <trackback:ping>http://www.stevelongdo.com/articles/trackback/74</trackback:ping>
    </item>
    <item>
      <title>"Rails acts_as_rateable plugin..." by Steve Longdo</title>
      <description>Work on this has stalled.  Primarily over concerns about whether or not is appropriate/possible for a plugin to participate in Rails Routing.  I've been discussing it with several RoR big names.  The mostly seem to be against the idea of a plugin doing this.

I may pursue continuing this work as a Rails Engine instead.  I've talked with James Adam about what kinds of things would need to happen to make a RatingEngine work.  Hopefully I will have more news on this soon...</description>
      <pubDate>Tue, 07 Mar 2006 13:55:49 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:8b6d7565-2ab9-44dd-9032-899936428c12</guid>
      <link>http://www.stevelongdo.com/articles/2006/02/09/rails-acts_as_rateable-plugin#comment-92</link>
    </item>
    <item>
      <title>"Rails acts_as_rateable plugin..." by Martin</title>
      <description>Hi there,

Is this ready yet - I NEED IT!

Good work!

Martin</description>
      <pubDate>Tue, 07 Mar 2006 13:46:38 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:a0b89a91-2c99-4d56-8e0a-f1d6838cdfac</guid>
      <link>http://www.stevelongdo.com/articles/2006/02/09/rails-acts_as_rateable-plugin#comment-91</link>
    </item>
  </channel>
</rss>
