<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.thewebfellas.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en-US">
  <title>UK Ruby on Rails, Exalead, AWS, Consultancy - Blog Comments</title>
  <id>tag:thewebfellas.com,2011:mephisto/blog/comments</id>
  <generator version="0.7.3" uri="http://mephistoblog.com">Mephisto Noh-Varr</generator>
  
  <link href="http://thewebfellas.com/blog" rel="alternate" type="text/html" />
  <updated>2011-05-26T10:30:19Z</updated>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.thewebfellas.com/thewebfellas/blog/comments" /><feedburner:info uri="thewebfellas/blog/comments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>50.848928</geo:lat><geo:long>-1.165624</geo:long><entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2010-08-22:18489:27242</id>
    <published>2011-05-26T10:30:05Z</published>
    <updated>2011-05-26T10:30:05Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/47xi9eZPlk0/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3" rel="alternate" type="text/html" />
    <title>Comment on 'Revisited: roll your own pagination links with will_paginate and Rails 3' by Rob Anderton</title>
<content type="html">&lt;p&gt;@yoshyosh: I'm not sure you really &lt;em&gt;need&lt;/em&gt; the extra file, you just need to make sure you follow Rails naming conventions for the source file. So it's &lt;samp&gt;lib/pagination_list_link_renderer.rb&lt;/samp&gt; not &lt;samp&gt;paginationlistlinkrenderer.rb&lt;/samp&gt; as without the underscores the autoloader won't work.&lt;/p&gt;

&lt;p&gt;As for the images, you could override the &lt;code&gt;previous_page&lt;/code&gt; and &lt;code&gt;next_page&lt;/code&gt; methods in your renderer and do something like I showed in &lt;a href="#comment-21135" title="Read the comment"&gt;this earlier comment&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;@Gourav: an alternative approach would be to override &lt;code&gt;to_html&lt;/code&gt; in the renderer and conditionally add the previous/next links based on the current page:&lt;/p&gt;

&lt;pre&gt;&lt;code class="ruby"&gt;class PaginationLinkRenderer &amp;lt; WillPaginate::LinkRenderer

  def to_html
    links = @options[:page_links] ? windowed_links : []

    links.unshift(page_link_or_span(@collection.previous_page, 'previous', @options[:previous_label])) unless @collection.current_page == 1
    links.push(page_link_or_span(@collection.next_page, 'next', @options[:next_label])) unless @collection.current_page == @collection.total_pages

    html = links.join(@options[:separator])
    @options[:container] ? @template.content_tag(:ul, html, html_attributes) : html
  end

end&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The above code is based on the &lt;code&gt;PaginationLinkListRenderer&lt;/code&gt; from my &lt;a href="/blog/2008/8/3/roll-your-own-pagination-links-with-will_paginate" title="Read the blog"&gt;older will_paginate blog&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/47xi9eZPlk0" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2010/8/22/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Gourav Tiwari</name>
    </author>
    <id>tag:thewebfellas.com,2010-08-22:18489:27233</id>
    <published>2011-05-25T21:02:32Z</published>
    <updated>2011-05-25T21:02:32Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/47xi9eZPlk0/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3" rel="alternate" type="text/html" />
    <title>Comment on 'Revisited: roll your own pagination links with will_paginate and Rails 3' by Gourav Tiwari</title>
<content type="html">&lt;p&gt;I was using will_paginate plugin and wanted not to display previous page/next page when user on first page/last page (sorry not upgraded to latest version yet :( ). I ended up doing small extension:&lt;/p&gt;

&lt;pre&gt;&lt;code class="ruby"&gt;class PaginationLinkRenderer &amp;lt; WillPaginate::LinkRenderer
  protected

  def page_span(page, text, attributes = {})
    is_disabled_prev_or_next?(attributes) ? '' : @template.content_tag(:span, text, attributes)
  end

  def is_disabled_prev_or_next? attributes
    dont_show_defaults_for = [&amp;quot;disabled next_page&amp;quot;, &amp;quot;disabled prev_page&amp;quot;]
    !attributes.blank? and dont_show_defaults_for.include? attributes[:class]
  end
end&lt;/code&gt;&lt;/pre&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/47xi9eZPlk0" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2010/8/22/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>yoshyosh</name>
    </author>
    <id>tag:thewebfellas.com,2010-08-22:18489:27230</id>
    <published>2011-05-25T12:50:31Z</published>
    <updated>2011-05-25T12:50:31Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/47xi9eZPlk0/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3" rel="alternate" type="text/html" />
    <title>Comment on 'Revisited: roll your own pagination links with will_paginate and Rails 3' by yoshyosh</title>
<content type="html">&lt;p&gt;Hey guys, you might get an error about uninitialized constant PaginationLinkRenderer (ActionView::Template::Error) even after doing all of the autoloader stuff. I got it solved at stackover flow heres the link http://stackoverflow.com/questions/6122314/rails-autoloading-lib-not-working . Basically you need another file.&lt;/p&gt;

&lt;p&gt;I was wondering how can I make Previous and Next show up as images rather than text? I tried putting image_path("") into the :previous_label and :next_label but that didn't even compile.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/47xi9eZPlk0" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2010/8/22/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>AnGQ</name>
    </author>
    <id>tag:thewebfellas.com,2010-08-22:18489:27164</id>
    <published>2011-05-22T08:01:52Z</published>
    <updated>2011-05-22T08:01:52Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/47xi9eZPlk0/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3" rel="alternate" type="text/html" />
    <title>Comment on 'Revisited: roll your own pagination links with will_paginate and Rails 3' by AnGQ</title>
<content type="html">&lt;p&gt;Hi Rob,&lt;/p&gt;

&lt;p&gt;Thank you very much for pointing me out the way to live with will_paginate in Rails 3. I'm going to find a new life with these news in Rails 3 later.&lt;/p&gt;

&lt;p&gt;By the way, with my old app, I've tried with some hacks in PaginationListLinkRenderer by using some functions from will_paginate 2.x.x, and all of my old things worked.&lt;/p&gt;

&lt;p&gt;AnGQ&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/47xi9eZPlk0" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2010/8/22/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Matt</name>
    </author>
    <id>tag:thewebfellas.com,2009-08-29:8374:27154</id>
    <published>2011-05-21T22:26:19Z</published>
    <updated>2011-05-21T22:26:19Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/coa-Tm60ETU/protecting-your-paperclip-downloads" rel="alternate" type="text/html" />
    <title>Comment on 'Protecting your Paperclip downloads' by Matt</title>
<content type="html">&lt;p&gt;Hi!&lt;/p&gt;

&lt;p&gt;Very nice this tutorial and explanations!
But I have a problem with capistrano deployment. How could I symlink the folder outside the public folder, which contains my uploads? I don't use S3.&lt;/p&gt;

&lt;p&gt;Anyone an idea?&lt;/p&gt;

&lt;p&gt;Matt&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/coa-Tm60ETU" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2009/8/29/protecting-your-paperclip-downloads</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2009-02-22:3120:27093</id>
    <published>2011-05-19T09:17:42Z</published>
    <updated>2011-05-19T09:17:42Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/0PrW-6DBVgI/video-thumbnails-with-ffmpeg-and-paperclip" rel="alternate" type="text/html" />
    <title>Comment on 'Video thumbnails with FFmpeg and Paperclip' by Rob Anderton</title>
<content type="html">&lt;p&gt;It might be worth putting a breakpoint in the &lt;code&gt;rescue&lt;/code&gt; block of the &lt;code&gt;make&lt;/code&gt; method and inspecting the values of the original exception &lt;code&gt;message&lt;/code&gt; and &lt;code&gt;output&lt;/code&gt; attributes (before the exception is re-raised) to be sure that it is the warning that is causing the error and not something else.&lt;/p&gt;

&lt;p&gt;I've had FFmpeg warnings before that haven't stopped Paperclip from doing its thing - so I'd be interested to know why it's breaking your code.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/0PrW-6DBVgI" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2009/2/22/video-thumbnails-with-ffmpeg-and-paperclip</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>erwin</name>
    </author>
    <id>tag:thewebfellas.com,2009-02-22:3120:27091</id>
    <published>2011-05-19T07:34:48Z</published>
    <updated>2011-05-19T07:34:48Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/0PrW-6DBVgI/video-thumbnails-with-ffmpeg-and-paperclip" rel="alternate" type="text/html" />
    <title>Comment on 'Video thumbnails with FFmpeg and Paperclip' by erwin</title>
<content type="html">&lt;p&gt;thanks for all these info .. it's running so well...
However I got a, issue trying to generate thumbnail for an .m4v video file
the ffmpeg command line on console works well .. ( it generates the thumbnail) but display a warning ...  &lt;/p&gt;

&lt;p&gt;ffmpeg -ss 2  -i clipout12-iPhone.m4v  -y  -vcodec mjpeg  -f image2 -vframes 1  -s 100x74 clipout12-iPhone.jpg
..
Seems stream 1 codec frame rate differs from container frame rate: 2000.00 (2000/1) -&gt; 1000.00 (2000/2)&lt;/p&gt;

&lt;p&gt;running the command line within Paperclip processor raises a  PaperclipCommandLineError and the thumbnail is not generated..
is there anyway to avoid this 'frame rate' checking or should I bypass the error in the rescue ?
...&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/0PrW-6DBVgI" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2009/2/22/video-thumbnails-with-ffmpeg-and-paperclip</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2010-08-22:18489:27046</id>
    <published>2011-05-16T17:30:27Z</published>
    <updated>2011-05-16T17:30:27Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/47xi9eZPlk0/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3" rel="alternate" type="text/html" />
    <title>Comment on 'Revisited: roll your own pagination links with will_paginate and Rails 3' by Rob Anderton</title>
<content type="html">&lt;p&gt;Rails 3 deprecated the &lt;code&gt;remote_function&lt;/code&gt; method: inline scripting is no longer fashionable (with good reason) and unobtrusive is the way to go!&lt;/p&gt;

&lt;p&gt;There is an example of Ajax pagination on the &lt;a href="https://github.com/mislav/will_paginate/wiki/Ajax-pagination" title="Read the wiki article"&gt;will_paginate wiki&lt;/a&gt; for Rails 3 which should get you started.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/47xi9eZPlk0" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2010/8/22/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2009-08-29:8374:27045</id>
    <published>2011-05-16T16:44:15Z</published>
    <updated>2011-05-16T16:44:15Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/coa-Tm60ETU/protecting-your-paperclip-downloads" rel="alternate" type="text/html" />
    <title>Comment on 'Protecting your Paperclip downloads' by Rob Anderton</title>
<content type="html">&lt;p&gt;@Justin: sorry I missed your question - you've probably figured something out by now. If you're using a newer version of Paperclip, the &lt;code&gt;expiring_url&lt;/code&gt; method is now part of the attachment model, so each one would have its own copy of the method.&lt;/p&gt;

&lt;p&gt;Using older versions of Paperclip, probably the easiest thing to do would be to modify the code to accept the attachment object as a parameter too:&lt;/p&gt;

&lt;pre&gt;&lt;code class="ruby"&gt;def download_url(attachment, style = nil, include_updated_timestamp = true)
  url = Paperclip::Interpolations.interpolate('/:class/:id/:style.:extension', attachment, style || attachment.default_style)
  include_updated_timestamp &amp;&amp; attachment.updated_at ? [url, attachment.updated_at].compact.join(url.include?("?") ? "&amp;" : "?") : url
end

def authenticated_url(attachment, style = nil, expires_in = 10.seconds)
  AWS::S3::S3Object.url_for(attachment.path(style || attachment.default_style), attachment.bucket_name, :expires_in =&gt; expires_in, :use_ssl =&gt; attachment.s3_protocol == 'https')
end&lt;/code&gt;&lt;/pre&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/coa-Tm60ETU" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2009/8/29/protecting-your-paperclip-downloads</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2009-08-29:8374:27044</id>
    <published>2011-05-16T16:27:34Z</published>
    <updated>2011-05-16T16:27:34Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/coa-Tm60ETU/protecting-your-paperclip-downloads" rel="alternate" type="text/html" />
    <title>Comment on 'Protecting your Paperclip downloads' by Rob Anderton</title>
<content type="html">&lt;p&gt;@Paul yep it's a typo: if we had a prize for paying attention you'd win it as nobody else has spotted the goof in the last couple of years!&lt;/p&gt;

&lt;p&gt;@AdamGold: glad to help! The authenticated URL is time based, so by setting a short expiry time (for example the 10 seconds I've used in the examples above) you give time to allow the client to access the data but once the 10 seconds have elapsed the link no longer works (so sharing with friends would be pointless, unless they can use it within the 10 seconds!). I'm not aware of any way of having a one-time URL instead.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/coa-Tm60ETU" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2009/8/29/protecting-your-paperclip-downloads</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>AdamGold</name>
    </author>
    <id>tag:thewebfellas.com,2009-08-29:8374:27028</id>
    <published>2011-05-15T16:21:41Z</published>
    <updated>2011-05-15T16:21:41Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/coa-Tm60ETU/protecting-your-paperclip-downloads" rel="alternate" type="text/html" />
    <title>Comment on 'Protecting your Paperclip downloads' by AdamGold</title>
<content type="html">&lt;p&gt;You're one of the bests ;) Really good article Rob, only I have one question - How can I re-generate the link each time? I mean, I want it to be expired -&gt; re-generated so the user won't be able to share it with friends. Is it possible?
Thanks!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/coa-Tm60ETU" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2009/8/29/protecting-your-paperclip-downloads</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>AnGQ</name>
    </author>
    <id>tag:thewebfellas.com,2010-08-22:18489:26872</id>
    <published>2011-05-06T06:53:27Z</published>
    <updated>2011-05-06T06:53:27Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/47xi9eZPlk0/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3" rel="alternate" type="text/html" />
    <title>Comment on 'Revisited: roll your own pagination links with will_paginate and Rails 3' by AnGQ</title>
<content type="html">&lt;p&gt;In the previous version of Rails (2.3.5), I used will_paginate with something like:&lt;/p&gt;

&lt;pre&gt;&lt;code class="ruby"&gt;
&amp;lt;%= will_paginate(@posts,
                  :inner_window =&amp;gt; 1,
                  :outer_window =&amp;gt; 0,
                  :function     =&amp;gt; remote_function(
                    :submit=&amp;gt; &amp;quot;option_items&amp;quot;,                                                            
                    :before=&amp;gt;&amp;quot;$('spinner').show()&amp;quot;,
                    :complete  =&amp;gt; &amp;quot;$('spinner').hide()&amp;quot;,
                    :url       =&amp;gt; {
                      :controller       =&amp;gt; &amp;quot;post&amp;quot;,
                      :action           =&amp;gt; requested_action,
                      :page             =&amp;gt; &amp;quot;__page__&amp;quot;
                    }
                  )
)%&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But with this new will_paginate (3.0.pre2), :function =&gt; remote_function do not work any more. I've changed my sourcecode to:&lt;/p&gt;

&lt;pre&gt;&lt;code class="ruby"&gt;&amp;lt;%= will_paginate(@posts,
                  :inner_window =&amp;gt; 1,
                  :outer_window =&amp;gt; 0,
                  :params     =&amp;gt;{
                    :submit=&amp;gt; &amp;quot;option_items&amp;quot;,                                                        
                    :before=&amp;gt;&amp;quot;$('spinner').show()&amp;quot;,
                    :complete  =&amp;gt; &amp;quot;$('spinner').hide()&amp;quot;,
                    :controller       =&amp;gt; &amp;quot;post&amp;quot;,
                    :action           =&amp;gt; requested_action,
                    :page             =&amp;gt; &amp;quot;__page__&amp;quot;
                  }
)%&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The Controller and Action can be called, but the :submit options or :before, :complete do not work. How should I change my source code?&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/47xi9eZPlk0" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2010/8/22/revisited-roll-your-own-pagination-links-with-will_paginate-and-rails-3</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Farukh D M</name>
    </author>
    <id>tag:thewebfellas.com,2008-06-09:989:26828</id>
    <published>2011-05-04T10:04:23Z</published>
    <updated>2011-05-04T10:04:23Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/oZpWFgOMkWU/rails-2-1-now-with-better-integrated-caching" rel="alternate" type="text/html" />
    <title>Comment on 'Rails 2.1: now with better integrated caching' by Farukh D M</title>
<content type="html">&lt;p&gt;Awesomely documented :)&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/oZpWFgOMkWU" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2008/6/9/rails-2-1-now-with-better-integrated-caching</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Paul</name>
    </author>
    <id>tag:thewebfellas.com,2009-08-29:8374:26642</id>
    <published>2011-04-26T17:19:00Z</published>
    <updated>2011-04-26T17:19:00Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/coa-Tm60ETU/protecting-your-paperclip-downloads" rel="alternate" type="text/html" />
    <title>Comment on 'Protecting your Paperclip downloads' by Paul</title>
<content type="html">&lt;p&gt;Wow, thank you for writing this up! It's a great work-around for the (understandable) limitations of S3 access control.&lt;/p&gt;

&lt;p&gt;I think this is a mental typo, right?:&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;And while I’m at it, I can also move the authenticated S3 URL generation
    out of the model and into the controller too.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I believe that should read:&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;And while I’m at it, I can also move the authenticated S3 URL generation
    out of the controller and into the model too.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Paul&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/coa-Tm60ETU" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2009/8/29/protecting-your-paperclip-downloads</feedburner:origLink></entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-10:46:26232</id>
    <published>2011-04-08T17:17:12Z</published>
    <updated>2011-04-08T17:17:12Z</updated>
    <category term="Blog" />
    <link href="http://feeds.thewebfellas.com/~r/thewebfellas/blog/comments/~3/vK5sd1k15_Q/rspec-autotest-and-snarl-on-windows" rel="alternate" type="text/html" />
    <title>Comment on 'RSpec, autotest and Snarl on Windows' by Rob Anderton</title>
<content type="html">&lt;p&gt;Unfortunately it looks like ruby-snarl won't work with Ruby 1.9 - the DL library has been changed (&lt;code&gt;DL::Importable&lt;/code&gt; no longer exists) and ruby-snarl hasn't seen an update for nearly five years.&lt;/p&gt;

&lt;p&gt;There is the &lt;a href="http://rubygems.org/gems/autotest-snarl" title="Take a look at the gem"&gt;autotest-snarl&lt;/a&gt; which looks like it could be a replacement, but I've not tried it.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/thewebfellas/blog/comments/~4/vK5sd1k15_Q" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://thewebfellas.com/blog/2007/12/10/rspec-autotest-and-snarl-on-windows</feedburner:origLink></entry>
</feed>

