<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,5 +2,7 @@
 # File: script/console
 irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
 
+# loading the spec_helper file even though this isn't necessarily for specs
+# it's just a convenient, quick way to load all the requirements.
 puts &quot;Loading scope-builder gem&quot;
-exec &quot;#{irb} -r irb/completion -r #{File.dirname(__FILE__) + '/../lib/scope_builder.rb'} --simple-prompt&quot;
+exec &quot;#{irb} -r irb/completion -r #{File.dirname(__FILE__) + '/../spec/spec_helper.rb'} --simple-prompt&quot;</diff>
      <filename>script/console</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,5 @@
 require File.dirname(__FILE__) + '/../spec_helper'
 
-class Product &lt; ActiveRecord::Base
-  named_scope :released, :conditions =&gt; ['released=?', true]
-end
-
 describe ScopeBuilder::Builder do
   before(:each) do
     Product.delete_all</diff>
      <filename>spec/scope_builder/builder_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,8 +2,6 @@ require 'rubygems'
 require 'spec'
 require 'active_support'
 require 'active_record'
-require 'action_controller'
-require 'action_view'
 require File.dirname(__FILE__) + '/../lib/scope_builder.rb'
 
 # setup database adapter
@@ -12,6 +10,10 @@ ActiveRecord::Base.establish_connection({
   :dbfile =&gt; File.dirname(__FILE__) + &quot;/test.sqlite3&quot; 
 })
 
+class Product &lt; ActiveRecord::Base
+  named_scope :released, :conditions =&gt; ['released=?', true]
+end
+
 Spec::Runner.configure do |config|
   config.mock_with :mocha
 end</diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>936e507c635ac3b0919e1c54a411ad194c8e99b7</id>
    </parent>
  </parents>
  <author>
    <name>Ryan Bates</name>
    <email>ryan@railscasts.com</email>
  </author>
  <url>http://github.com/ryanb/scope-builder/commit/c14368c963eae24a41bb9df7c6be74ca233e86aa</url>
  <id>c14368c963eae24a41bb9df7c6be74ca233e86aa</id>
  <committed-date>2008-06-26T09:41:41-07:00</committed-date>
  <authored-date>2008-06-26T09:41:41-07:00</authored-date>
  <message>fixing script/console so it properly loads the environment</message>
  <tree>ddf4c4cdfdcb31d472d78c97a04a93b71ad342d6</tree>
  <committer>
    <name>Ryan Bates</name>
    <email>ryan@railscasts.com</email>
  </committer>
</commit>
