<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Ruby, Rails, and Randomness - All Comments</title>
  <id>tag:naffis.com,2008:mephisto/comments</id>
  <generator uri="http://mephistoblog.com" version="0.7.3">Mephisto Noh-Varr</generator>
  <link href="http://naffis.com/feed/all_comments.xml" rel="self" type="application/atom+xml"/>
  <link href="http://naffis.com/" rel="alternate" type="text/html"/>
  <updated>2008-08-14T00:28:40Z</updated>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>Fabiola</name>
    </author>
    <id>tag:naffis.com,2007-05-22:94:3277</id>
    <published>2008-08-14T00:28:40Z</published>
    <updated>2008-08-14T00:28:40Z</updated>
    <link href="http://naffis.com/2007/5/22/automatically-expiring-sessions-in-rails" rel="alternate" type="text/html"/>
    <title>Comment on 'Automatically Expiring Sessions in Rails' by Fabiola</title>
<content type="html">&lt;p&gt;Hey,
the plugin is missing!!!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>Jcooper</name>
    </author>
    <id>tag:naffis.com,2006-12-11:33:2636</id>
    <published>2008-07-25T06:26:20Z</published>
    <updated>2008-07-25T06:26:20Z</updated>
    <link href="http://naffis.com/2006/12/11/ajax-uploads-image-manipulation-drag-and-drop-sorting" rel="alternate" type="text/html"/>
    <title>Comment on 'Ajax uploads? Image manipulation &amp; drag-and-drop sorting.' by Jcooper</title>
<content type="html">&lt;p&gt;Hi, this is a fairly old article will this still work with the latest ruby on rails? or is there a better example out there? cheers&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>compass bank</name>
    </author>
    <id>tag:naffis.com,2006-12-11:33:2386</id>
    <published>2008-06-24T10:08:12Z</published>
    <updated>2008-06-24T10:08:12Z</updated>
    <link href="http://naffis.com/2006/12/11/ajax-uploads-image-manipulation-drag-and-drop-sorting" rel="alternate" type="text/html"/>
    <title>Comment on 'Ajax uploads? Image manipulation &amp; drag-and-drop sorting.' by compass bank</title>
<content type="html">&lt;p&gt;Nice Site!
http://google.com&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>Sig</name>
    </author>
    <id>tag:naffis.com,2008-04-28:2280:2339</id>
    <published>2008-05-21T18:26:56Z</published>
    <updated>2008-05-21T18:26:56Z</updated>
    <link href="http://naffis.com/2008/4/28/intridea-featured-in-washington-post" rel="alternate" type="text/html"/>
    <title>Comment on 'Intridea featured in Washington Post' by Sig</title>
<content type="html">&lt;p&gt;That&#8217;s cool
Congrats! &lt;/p&gt;

&lt;p&gt;PS check your blog out because I couldn&#8217;t post on some of your articles.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>MichaelT</name>
    </author>
    <id>tag:naffis.com,2007-05-22:95:2301</id>
    <published>2008-05-05T06:52:36Z</published>
    <updated>2008-05-05T06:52:36Z</updated>
    <link href="http://naffis.com/2007/5/22/tracking-views-in-rails" rel="alternate" type="text/html"/>
    <title>Comment on 'Tracking Views in Rails' by MichaelT</title>
<content type="html">&lt;p&gt;example:
http://hunterartsnetwork.org/pages/profile/28&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>MichaelT</name>
    </author>
    <id>tag:naffis.com,2007-05-22:95:2300</id>
    <published>2008-05-05T06:21:39Z</published>
    <updated>2008-05-05T06:21:39Z</updated>
    <link href="http://naffis.com/2007/5/22/tracking-views-in-rails" rel="alternate" type="text/html"/>
    <title>Comment on 'Tracking Views in Rails' by MichaelT</title>
<content type="html">&lt;p&gt;Brilliant!&lt;/p&gt;

&lt;p&gt;I am trialing this out on user profiles in my app. The user gets to see how popular thier profile is.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>jacques</name>
    </author>
    <id>tag:naffis.com,2008-04-28:2280:2286</id>
    <published>2008-04-30T07:53:19Z</published>
    <updated>2008-04-30T07:53:19Z</updated>
    <link href="http://naffis.com/2008/4/28/intridea-featured-in-washington-post" rel="alternate" type="text/html"/>
    <title>Comment on 'Intridea featured in Washington Post' by jacques</title>
<content type="html">&lt;p&gt;Nice Job!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>ynw</name>
    </author>
    <id>tag:naffis.com,2008-04-28:2280:2284</id>
    <published>2008-04-30T00:29:56Z</published>
    <updated>2008-04-30T00:29:56Z</updated>
    <link href="http://naffis.com/2008/4/28/intridea-featured-in-washington-post" rel="alternate" type="text/html"/>
    <title>Comment on 'Intridea featured in Washington Post' by ynw</title>
<content type="html">&lt;p&gt;Congrats! :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>Muhammad Hassan</name>
    </author>
    <id>tag:naffis.com,2007-05-22:94:2273</id>
    <published>2008-04-24T16:26:22Z</published>
    <updated>2008-04-24T16:26:22Z</updated>
    <link href="http://naffis.com/2007/5/22/automatically-expiring-sessions-in-rails" rel="alternate" type="text/html"/>
    <title>Comment on 'Automatically Expiring Sessions in Rails' by Muhammad Hassan</title>
<content type="html">&lt;p&gt;Thank you for giving this info, I have 2 questions:
1.What is the default session time of Rails (in case I did not use any plugins)
2.How to get user sesssion id?&lt;/p&gt;

&lt;p&gt;Thank you for your help.&lt;/p&gt;

&lt;p&gt;Muhammad Hassan
http://www.badrit.com&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>Alex</name>
    </author>
    <id>tag:naffis.com,2008-04-02:2225:2234</id>
    <published>2008-04-05T14:54:44Z</published>
    <updated>2008-04-05T14:54:44Z</updated>
    <link href="http://naffis.com/2008/4/2/open-sourcing-scalr" rel="alternate" type="text/html"/>
    <title>Comment on 'Open-sourcing Scalr' by Alex</title>
<content type="html">&lt;p&gt;God bless you.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>Paolo</name>
    </author>
    <id>tag:naffis.com,2006-08-31:30:2194</id>
    <published>2008-03-06T11:40:36Z</published>
    <updated>2008-03-06T11:40:36Z</updated>
    <link href="http://naffis.com/2006/8/31/rails-ajax-star-rating-system" rel="alternate" type="text/html"/>
    <title>Comment on 'Ruby on Rails, Ajax &amp; CSS Star Rating System' by Paolo</title>
<content type="html">&lt;p&gt;The demo on this site doesn&#8217;t work anymore:&lt;/p&gt;

&lt;p&gt;TypeError in Rating_demo#index&lt;/p&gt;

&lt;p&gt;Showing app/views/rating&lt;em&gt;demo/&lt;/em&gt;rating.rhtml where line #1 raised:&lt;/p&gt;

&lt;p&gt;nil can&#8217;t be coerced into Float&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>Sergio</name>
    </author>
    <id>tag:naffis.com,2006-08-31:30:2191</id>
    <published>2008-03-03T20:18:21Z</published>
    <updated>2008-03-03T20:18:21Z</updated>
    <link href="http://naffis.com/2006/8/31/rails-ajax-star-rating-system" rel="alternate" type="text/html"/>
    <title>Comment on 'Ruby on Rails, Ajax &amp; CSS Star Rating System' by Sergio</title>
<content type="html">&lt;p&gt;Wow! This is amazing! 
Thank you!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>tgere</name>
    </author>
    <id>tag:naffis.com,2006-08-31:30:2190</id>
    <published>2008-03-01T11:05:06Z</published>
    <updated>2008-03-01T11:05:06Z</updated>
    <link href="http://naffis.com/2006/8/31/rails-ajax-star-rating-system" rel="alternate" type="text/html"/>
    <title>Comment on 'Ruby on Rails, Ajax &amp; CSS Star Rating System' by tgere</title>
<content type="html">&lt;p&gt;Don&#8217;t give up if you don&#8217;t get it working right away, the demo does work! If you are wondering if this demo works on newer environments, mine is Ruby 1.84 and Rails 2.02.  Works as advertised!  Many thanks to Dave Naffis for this great tutorial, Chris Ingrassia for the acts_as_rateable plugin, and rogie for the CSS. If you are running into problems, be sure to read the comments left by other for things to check for, especially if you are just copy and pasting from the demo (like I did ;-) &lt;/p&gt;

&lt;p&gt;I think because of the Ajax it&#8217;s a bit difficult to find the errors. I was using WEBrick and was not getting any useful debugging out of Terminal ruby. I switched over to Lighttpd and Terminal ruby had just the information that I needed to debug.  Hope this helps someone.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>johnny72k</name>
    </author>
    <id>tag:naffis.com,2006-08-31:30:2189</id>
    <published>2008-02-29T22:13:29Z</published>
    <updated>2008-02-29T22:13:29Z</updated>
    <link href="http://naffis.com/2006/8/31/rails-ajax-star-rating-system" rel="alternate" type="text/html"/>
    <title>Comment on 'Ruby on Rails, Ajax &amp; CSS Star Rating System' by johnny72k</title>
<content type="html">&lt;p&gt;didn&#8217;t quite get there in 10 min, but with some work&#8230;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;had to get &#8220;ratings_demo&#8221; out of the partial, and make sure I switched out &#8220;assets&#8221; for my model everywhere&lt;/li&gt;
&lt;li&gt;added the parenthesis mentioned by Joseph above&lt;/li&gt;
&lt;li&gt;had to change current&lt;em&gt;user.id to @current&lt;/em&gt;user.id&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I got there in about 30 min.  thanks so much!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://naffis.com/">
    <author>
      <name>Nick Carter</name>
    </author>
    <id>tag:naffis.com,2008-01-16:2112:2188</id>
    <published>2008-02-29T06:06:16Z</published>
    <updated>2008-02-29T06:06:16Z</updated>
    <link href="http://naffis.com/2008/1/16/actsasconference" rel="alternate" type="text/html"/>
    <title>Comment on 'ActsAsConference' by Nick Carter</title>
<content type="html">&lt;p&gt;Thanks for the files, Dave! Will check em out soon, and hopefully make it to DCRUG!&lt;/p&gt;</content>  </entry>
</feed>
