title: Why am I getting a NameError out of the box with rails SimpleRecord?
body: <p>I installed the simple_record gem to use as an ActiveRecord replacement for my rails app. I followed the instructions from <a href="http://sites.appoxy.com/simple_record/" rel="nofollow">http://sites.appoxy.com/simple_record/</a> and setup an initializer to include the following:</p>
  
  <pre><code>SimpleRecord.establish_connection(AWS_CONFIG['access_key_id'], AWS_CONFIG['secret_access_key'])
  </code></pre>
  
  <p>When I fire up the rails server (rails s) with I get the following error:</p>
  
  <pre><code>.../.rvm/gems/ruby-1.9.3-p125/gems/simple_record-2.2.0/lib/simple_record/active_sdb.rb:121:in `establish_connection': uninitialized constant SimpleRecord::ActiveSdb::ActiveSdbConnect::Aws (NameError)
  </code></pre>
  
  <p>It seems that it is trying to find the class name "SimpleRecord::ActiveSdb::ActiveSdbConnect::Aws" but Aws doesn't existing within that namespace. SimpleRecord does require Aws, but it is separate from SimpleRecord. Why would rails be prepending Aws with the SimpleRecord::... namespace?</p>
  
  <p>I'm fairly new to ruby and rails, so maybe my knowledge of name-spacing is lacking and this is an easy fix, but I've been searching for hours and I can't find any answers to my question.</p>
  
  <p>Ruby version: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]</p>
  
  <p>Rails version: Rails 3.2.1</p>
  
  <p>SimpleRecord version: 2.2.0</p>