<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -49,7 +49,14 @@ module ActiveRecord #:nodoc:
         end
 
         def classes
-          @symbols.map(&amp;:to_class)
+          @symbols.map { |s|
+            begin
+              s.to_class
+            rescue
+              puts &quot;Station Warning: Couldn't load class #{ s.to_s.classify }&quot;
+              nil
+            end
+          }.compact
         end
       end
     end</diff>
      <filename>lib/active_record/acts_as.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>49f868fab6233497a1dd15951a6135462e98460e</id>
    </parent>
  </parents>
  <author>
    <name>Antonio Tapiador del Dujo</name>
    <email>atapiador@dit.upm.es</email>
  </author>
  <url>http://github.com/atd/station/commit/6f7cb78978e7552c650793bcc6628c5cccc6e778</url>
  <id>6f7cb78978e7552c650793bcc6628c5cccc6e778</id>
  <committed-date>2009-11-05T03:27:24-08:00</committed-date>
  <authored-date>2009-11-05T03:25:56-08:00</authored-date>
  <message>Fix ActsAs#classes so we allow execution of rake tasks if the schema isn't load yet</message>
  <tree>86fc226f1d453ea2b793bf8332e4485d162d2ffc</tree>
  <committer>
    <name>Antonio Tapiador del Dujo</name>
    <email>atapiador@dit.upm.es</email>
  </committer>
</commit>
