title: Rails AtomFeedBuilder Entry :Url option appears in url tag but not in link tag
body: <p>I'm using the AtomFeedHelper and everything is working fine except for one feed where I need to link each entry to a URL which is not the default polymorphic_url for the record.</p>
  
  <p>Per the documentation I've specified an :url option for the entry. This correctly renders a <code>&lt;url&gt;</code> tag in the atom node but the <code>&lt;link rel="alternate"</code> still points to the default polymorphic_url. Looking at the source and the documentation I don't understand why this is happening.</p>
  
  <p>Here's an example builder:</p>
  
  <pre><code>atom_feed do |feed|
    feed.title("Reports")
    feed.updated(@reports.first.created_at)
    for report in @reports
      content = report.notes
  
      feed.entry(report) do |entry|
        entry.title(report.title)
        entry.content(content, :type =&gt; 'html')
        entry.url("http://myhost/page/")
        entry.updated(report.updated_at.strftime("%Y-%m-%dT%H:%M:%SZ"))
        entry.author do |author|
          author.name(report.user.username)
        end
      end
    end
  
  end
  </code></pre>
  
  <p>Here's an example of a problem node:</p>
  
  
  
  <pre><code> &lt;entry&gt;
      &lt;id&gt;tag:myhost.mydomain.com,2005:SiteReport/2&lt;/id&gt;
      &lt;published&gt;2010-03-30T13:11:07-07:00&lt;/published&gt;
      &lt;updated&gt;2010-03-30T13:11:07-07:00&lt;/updated&gt;
      &lt;link rel="alternate" type="text/html" href="http://myhost/site_reports/2"/&gt;
      &lt;title&gt;Test Title&lt;/title&gt;
      &lt;content type="html"&gt;Test Content&lt;/content&gt;
      &lt;url&gt;http://myhost/page/&lt;/url&gt;
      &lt;updated&gt;2010-03-30T13:11:07Z&lt;/updated&gt;
      &lt;author&gt;
        &lt;name&gt;Author&lt;/name&gt;
      &lt;/author&gt;
    &lt;/entry&gt;
  </code></pre>
  
  <p>I want the href value in the link tag to match the value in the url tag but it does not.</p>
  
  <p>When I look at the source listed for entry here <a href="http://api.rubyonrails.org/classes/ActionView/Helpers/AtomFeedHelper/AtomFeedBuilder.html" rel="noreferrer">http://api.rubyonrails.org/classes/ActionView/Helpers/AtomFeedHelper/AtomFeedBuilder.html</a></p>
  
  <p>I'd assume that this line would work correctly:</p>
  
  <pre><code> @xml.link(:rel =&gt; 'alternate', :type =&gt; 'text/html', :href =&gt; options[:url] || @view.polymorphic_url(record))
  </code></pre>
  
  <p>Confused. Has anyone encountered this before?</p>
  
  <p>Thanks all!</p>