Signal Grey: A Planet Aggregator for dakota.net.nzConfusing the web since 2001tag:jack.dakota.net.nz,2005:TypoTypo2009-07-03T20:20:38+12:00Jackurn:uuid:cc67ff4d-4e4c-49e5-a49f-35e88faf2f562006-09-09T16:10:00+12:002009-07-03T20:20:38+12:00A Planet Aggregator for dakota.net.nzWebLinuxrailsplanet<p>I have just set up the <a href="http://rubyforge.org/projects/railsplanet/" title="Rails Planet Feed Aggregator">Rails Planet</a> at <a href="http://www.dakota.net.nz">www.dakota.net.nz</a> to aggregate the two logs currently hosted there (this one right here included). Rails Planet is used at <a href="http://www.planetrubyonrails.org/">www.planetrubyonrails.org</a> and does not appear to be in active development. As such I found there were a couple of querks to getting it set up.</p>
<p>Amoungst other things I suspect are mostly specific to my set up one big problem I faced was getting access to the admin interface. Since there was no default login with the install and there did not appear to be an initial setup phase I had no way of creating a user in order to then access the admin interface.</p>
<p>The solution I found was to comment out line 4 of app/controllers/admin/base_controller.rb:</p>
<pre><code>class Admin::BaseController < ApplicationController
layout "admin"
# before_filter :login_required
end
</code></pre>
<p>This essentially disabled authentication for the admin interface so I could access it without a login. Once I had set up a user account I then uncommented the line again and restarted the server to ensure the authentication was back in place.</p>
<p>Hopefully this helps anyone who is having similar problems.</p>