<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rollsteady &#187; rails</title>
	<atom:link href="http://rollsteady.net/blog/tag/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://rollsteady.net/blog</link>
	<description>Made in Northern California</description>
	<lastBuildDate>Sun, 28 Jun 2009 19:44:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>undefined method `use_transactional_fixtures=&#8217; for Test::Unit::TestCase:Class</title>
		<link>http://rollsteady.net/blog/undefined-method-use_transactional_fixtures-for-testunittestcaseclass/</link>
		<comments>http://rollsteady.net/blog/undefined-method-use_transactional_fixtures-for-testunittestcaseclass/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 21:20:13 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://rollsteady.net/blog/?p=541</guid>
		<description><![CDATA[If you have upgraded to Rails 2.3 and come across this error:
undefined method `use_transactional_fixtures=&#8217; for Test::Unit::TestCase:Class
It probably means you have tests that were generated in an older version of Rails. Just open up test/test_helper.rb and change this:

class Test::Unit::TestCase

To this:

class ActiveSupport::TestCase

Voila!
]]></description>
			<content:encoded><![CDATA[<p>If you have upgraded to Rails 2.3 and come across this error:<br />
<em>undefined method `use_transactional_fixtures=&#8217; for Test::Unit::TestCase:Class</em></p>
<p>It probably means you have tests that were generated in an older version of Rails. Just open up test/test_helper.rb and change this:</p>
<pre><code>
class Test::Unit::TestCase
</code></pre>
<p>To this:</p>
<pre><code>
class ActiveSupport::TestCase
</code></pre>
<p>Voila!</p>
]]></content:encoded>
			<wfw:commentRss>http://rollsteady.net/blog/undefined-method-use_transactional_fixtures-for-testunittestcaseclass/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails HTTP Basic Auth with LDAP</title>
		<link>http://rollsteady.net/blog/ruby-on-rails-http-basic-auth-with-ldap/</link>
		<comments>http://rollsteady.net/blog/ruby-on-rails-http-basic-auth-with-ldap/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 21:27:42 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://rollsteady.net/blog/?p=144</guid>
		<description><![CDATA[My friend Fred has a nifty tip over on his Binary Fever blog about Ruby on Rails LDAP authentication using HTTP Basic Auth. I took what he had done and made a few minor improvements:

# mygeneric_controller.rb
LDAPBASE = ‘, ou=active, ou=employees, ou=people, o=host.com’
before_filter :authenticate

protected

def authenticate
  authenticate_or_request_with_http_basic('LDAP Login') do &#124;username, password&#124;
   ldap = Net::LDAP.new [...]]]></description>
			<content:encoded><![CDATA[<p>My friend Fred has a nifty tip over on his Binary Fever blog about <a href="http://www.binaryfever.com/?p=18">Ruby on Rails LDAP authentication using HTTP Basic Auth</a>. I took what he had done and made a few minor improvements:</p>
<pre><code>
# mygeneric_controller.rb
LDAPBASE = ‘, ou=active, ou=employees, ou=people, o=host.com’
before_filter :authenticate

protected

def authenticate
  authenticate_or_request_with_http_basic('LDAP Login') do |username, password|
   ldap = Net::LDAP.new :host => ‘ldap.host.com’, :base => LDAPBASE
   ldap.auth ‘uid=’ + username + LDAPBASE, password
   if ldap.bind
    @point_person = PointPerson.find_by_username(username)
    if !@point_person.nil?
     return true
    end
   else
    return false
   end
  end
 end
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://rollsteady.net/blog/ruby-on-rails-http-basic-auth-with-ldap/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
